No longer user Assert.Equal() to check booleans.
This commit is contained in:
parent
0991dc6214
commit
58c5b46dff
@ -34,7 +34,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
|
|||||||
IService stubService = new FakeService();
|
IService stubService = new FakeService();
|
||||||
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
|
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
|
||||||
serviceInfo.Start();
|
serviceInfo.Start();
|
||||||
Assert.Equal(true, serviceInfo.GetServiceState());
|
Assert.True(serviceInfo.GetServiceState());
|
||||||
serviceInfo.Stop();
|
serviceInfo.Stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -46,7 +46,7 @@ namespace GameServiceWarden.Core.Tests.Modules.Games
|
|||||||
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
|
ServiceDescriptor serviceInfo = new ServiceDescriptor(stubService, SERVICE_NAME, "FakeModule", "FakeAssembly");
|
||||||
serviceInfo.Start();
|
serviceInfo.Start();
|
||||||
serviceInfo.Stop();
|
serviceInfo.Stop();
|
||||||
Assert.Equal(false, serviceInfo.GetServiceState());
|
Assert.False(serviceInfo.GetServiceState());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Fact]
|
[Fact]
|
||||||
|
Reference in New Issue
Block a user