CA-202068: License Manager wizard showing "Activate Free XenServer" button even no host selected for editing license

Unit tests

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2016-03-08 17:30:26 +00:00
parent 09819b2a02
commit 578f0c4ca3

View File

@ -87,7 +87,7 @@ namespace XenAdminTests.LicensingTests
view.Verify(v => v.DrawActivateButtonAsDisabled(true));
view.Verify(v => v.DrawAssignButtonAsDisabled(true));
view.Verify(v => v.DrawReleaseButtonAsDisabled(true));
view.Verify(v => v.DrawActivateButtonAsHidden(false));
view.Verify(v => v.DrawActivateButtonAsHidden(true));
}
[Test, Category(TestCategories.SmokeTest)]
@ -331,7 +331,7 @@ namespace XenAdminTests.LicensingTests
view.Verify(v => v.DrawActivateButtonAsDisabled(true));
view.Verify(v => v.DrawAssignButtonAsDisabled(true));
view.Verify(v => v.DrawReleaseButtonAsDisabled(true));
view.Verify(v => v.DrawActivateButtonAsHidden(false));
view.Verify(v => v.DrawActivateButtonAsHidden(true));
}