diff --git a/src/UofICDB/UofICDB.psd1 b/src/UofICDB/UofICDB.psd1 index 0482a71..a43dbe0 100644 --- a/src/UofICDB/UofICDB.psd1 +++ b/src/UofICDB/UofICDB.psd1 @@ -12,7 +12,7 @@ RootModule = 'UofICDB.psm1' # Version number of this module. -ModuleVersion = '1.2.0' +ModuleVersion = '1.2.1' # Supported PSEditions # CompatiblePSEditions = @() diff --git a/test/UofICDB.Tests.ps1 b/test/UofICDB.Tests.ps1 index a72f960..e7bf809 100644 --- a/test/UofICDB.Tests.ps1 +++ b/test/UofICDB.Tests.ps1 @@ -175,10 +175,10 @@ Describe 'Get-CDBItem'{ Describe 'Get-CDBItemPermission'{ It 'Returns permissions for a given item'{ - (Get-CDBItemPermission -id 8777).permissions | Should -Not -BeNullOrEmpty + (Get-CDBItemPermission -id $TestId).permissions | Should -Not -BeNullOrEmpty } It 'Accepts pipeline input'{ - {Get-CDBItem -Id 8777 | Get-CDBItemPermission} | Should -Not -Throw + {Get-CDBItem -Id $TestId | Get-CDBItemPermission} | Should -Not -Throw } }