From 2a73419114692d796c3b9708251e4f07331536a0 Mon Sep 17 00:00:00 2001 From: Robert Holt Date: Wed, 10 Apr 2019 11:23:04 -0700 Subject: [PATCH] Fix tests --- PSCompatibilityAnalyzer/Tests/QueryApi.Tests.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PSCompatibilityAnalyzer/Tests/QueryApi.Tests.ps1 b/PSCompatibilityAnalyzer/Tests/QueryApi.Tests.ps1 index 2bdb3f3ec..257f1bdee 100644 --- a/PSCompatibilityAnalyzer/Tests/QueryApi.Tests.ps1 +++ b/PSCompatibilityAnalyzer/Tests/QueryApi.Tests.ps1 @@ -21,7 +21,7 @@ namespace PSScriptAnalyzerTests $typeQueryObject = New-Object 'Microsoft.PowerShell.CrossCompatibility.Query.TypeData' ('QueryApiTestObject', $typeData) - $typeData.Instance.Properties.Count | Should -Be 1 - $typeData.Instance.Properties.Keys | Should -Contain 'jobid' + $typeQueryObject.Instance.Properties.Count | Should -Be 1 + $typeQueryObject.Instance.Properties.Keys | Should -Contain 'jobid' } } \ No newline at end of file