update tests

pester tests pass for all kinds
- cast device.sr to int
This commit is contained in:
pblivingston
2025-11-26 17:54:06 -05:00
parent ee85d5ffd8
commit 1e4a2da821
3 changed files with 127 additions and 20 deletions

View File

@@ -13,7 +13,7 @@ class Device : IRemote {
hidden $_sr = $($this | Add-Member ScriptProperty 'sr' `
{
$this.Getter('sr')
[int]$this.Getter('sr')
} `
{
return Write-Warning ("ERROR: $($this.identifier()).sr is read only")