Skip to content

Commit

Permalink
fix: script and module names
Browse files Browse the repository at this point in the history
  • Loading branch information
apla committed Jun 12, 2024
1 parent e428ef0 commit 8332488
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/access-controller.psm1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@


New-Module -Name BoxForming -ScriptBlock {
New-Module -Name BoxFormingAccessController -ScriptBlock {

param(
[parameter(Position=0,Mandatory=$false)]
Expand Down
4 changes: 2 additions & 2 deletions tests/AccessController.Tests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Add-Type -AssemblyName System.Web
$Script:Username = "forremote"
$Script:Password = [System.Web.Security.Membership]::GeneratePassword(16,4) | ConvertTo-SecureString -AsPlainText -Force

Describe "Import-Module BoxForming" {
Describe "Import-Module BoxFormingAccessController" {
Context "Certificates" {
It "Should be able to generate certificate" {
$Script:GeneratedCert = New-ClientAuthCert -Username $Script:Username
Expand Down Expand Up @@ -61,7 +61,7 @@ Describe "Import-Module BoxForming" {

$Root = $PSScriptRoot

$InitScript = [scriptblock]::Create("Import-Module '$Root\..\scripts\boxforming.psm1' -ArgumentList True -Force")
$InitScript = [scriptblock]::Create("Import-Module '$Root\..\scripts\access-controller.psm1' -ArgumentList True -Force")

$ServerJob = Start-Job -InitializationScript $InitScript -ScriptBlock {
Start-CertShareServer -Port 50580 -Username $Input
Expand Down

0 comments on commit 8332488

Please sign in to comment.