Changed some tests to use Assert bool instead of equal.
This commit is contained in:
parent
cfecc7c7b3
commit
a9ff809ba8
@ -89,7 +89,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
|
||||
IService stubService = new FakeService();
|
||||
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
|
||||
//Then
|
||||
Assert.Equal(false, serviceInfo.GetServiceState());
|
||||
Assert.False(serviceInfo.GetServiceState());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
@ -102,7 +102,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
|
||||
//When
|
||||
serviceInfo.Start();
|
||||
//Then
|
||||
Assert.Equal(true, serviceInfo.GetServiceState());
|
||||
Assert.True(serviceInfo.GetServiceState());
|
||||
serviceInfo.Stop();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user