Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit f8b11a0

Browse files
Test fixes
1 parent 7ba138d commit f8b11a0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/UnitTests/GitHub.VisualStudio/Services/UsageTrackerTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ await service.Received(1).WriteLocalData(
4444
x.Reports[0].Measures.NumberOfStartups == 1));
4545
}
4646

47-
[Fact]
47+
[Test]
4848
public async Task FirstTickShouldIncrementLaunchCountInExistingReport()
4949
{
5050
var model = new UsageModel()
@@ -63,10 +63,10 @@ public async Task FirstTickShouldIncrementLaunchCountInExistingReport()
6363

6464
await targetAndTick.Item2();
6565

66-
Assert.Equal(5, model.Measures.NumberOfStartups);
66+
Assert.AreEqual(5, model.Measures.NumberOfStartups);
6767
}
6868

69-
[Fact]
69+
[Test]
7070
public async Task FirstTickNotShouldIncrementLaunchCountInOldReport()
7171
{
7272
var model = new UsageModel
@@ -85,7 +85,7 @@ public async Task FirstTickNotShouldIncrementLaunchCountInOldReport()
8585

8686
await targetAndTick.Item2();
8787

88-
Assert.Equal(4, model.Measures.NumberOfStartups);
88+
Assert.AreEqual(4, model.Measures.NumberOfStartups);
8989
}
9090

9191
[Test]
@@ -282,7 +282,7 @@ public async Task ShouldIncrementCounter()
282282

283283
await target.IncrementCounter(x => x.NumberOfClones);
284284

285-
Assert.Equal(5, model.NumberOfClones);
285+
Assert.AreEqual(5, model.Measures.NumberOfClones);
286286
}
287287

288288
[Test]
@@ -306,7 +306,7 @@ await service.Received(1).WriteLocalData(
306306
x.Reports[0].Measures.NumberOfClones == 1));
307307
}
308308

309-
[Fact]
309+
[Test]
310310
public async Task ShouldCreateNewRecordIfNewDay()
311311
{
312312
var data = new UsageModel

0 commit comments

Comments
 (0)