Skip to content

Commit d60cc3d

Browse files
authored
Merge pull request #241 from christianbumann/feature/fix-tests
Fix naming of test class and test methods
2 parents 1bc04b5 + 5073ecf commit d60cc3d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildSettingsTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ public void Should_Set_Collection_Url()
371371
}
372372

373373
[Fact]
374-
public void Should_Set_ProjectGuid_Url()
374+
public void Should_Set_ProjectGuid()
375375
{
376376
// Given
377377
var collectionUrl = new Uri("http://example.com/collection");
@@ -388,7 +388,7 @@ public void Should_Set_ProjectGuid_Url()
388388
}
389389

390390
[Fact]
391-
public void Should_Set_ProjectName_Url()
391+
public void Should_Set_ProjectName()
392392
{
393393
// Given
394394
var collectionUrl = new Uri("http://example.com/collection");
@@ -649,7 +649,7 @@ public void Should_Set_Collection_Url()
649649
}
650650

651651
[Fact]
652-
public void Should_Set_Project_Name_Url()
652+
public void Should_Set_Project_Name()
653653
{
654654
// Given
655655
var projectName = "MyProject";
@@ -666,7 +666,7 @@ public void Should_Set_Project_Name_Url()
666666
}
667667

668668
[Fact]
669-
public void Should_Set_Build_Id_Url()
669+
public void Should_Set_Build_Id()
670670
{
671671
// Given
672672
var buildId = 42;
@@ -939,7 +939,7 @@ public void Should_Set_Collection_Url()
939939
}
940940

941941
[Fact]
942-
public void Should_Set_Project_Name_Url()
942+
public void Should_Set_Project_Name()
943943
{
944944
// Given
945945
var projectName = "MyProject";
@@ -957,7 +957,7 @@ public void Should_Set_Project_Name_Url()
957957
}
958958

959959
[Fact]
960-
public void Should_Set_Build_Id_Url()
960+
public void Should_Set_Build_Id()
961961
{
962962
// Given
963963
var buildId = 42;

src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsSettingsTests.cs renamed to src/Cake.AzureDevOps.Tests/Pipelines/AzureDevOpsBuildsSettingsTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
using Shouldly;
77
using Xunit;
88

9-
public sealed class AzureDevOpsSettingsTests
9+
public sealed class AzureDevOpsBuildsSettingsTests
1010
{
1111
public sealed class TheCtorForProjectGuid
1212
{
@@ -256,7 +256,7 @@ public void Should_Set_Collection_Url()
256256
}
257257

258258
[Fact]
259-
public void Should_Set_ProjectGuid_Url()
259+
public void Should_Set_ProjectGuid()
260260
{
261261
// Given
262262
var collectionUrl = new Uri("http://example.com/collection");
@@ -272,7 +272,7 @@ public void Should_Set_ProjectGuid_Url()
272272
}
273273

274274
[Fact]
275-
public void Should_Set_ProjectName_Url()
275+
public void Should_Set_ProjectName()
276276
{
277277
// Given
278278
var collectionUrl = new Uri("http://example.com/collection");
@@ -434,7 +434,7 @@ public void Should_Set_Collection_Url()
434434
}
435435

436436
[Fact]
437-
public void Should_Set_Project_Name_Url()
437+
public void Should_Set_Project_Name()
438438
{
439439
// Given
440440
var projectName = "MyProject";
@@ -641,7 +641,7 @@ public void Should_Set_Collection_Url()
641641
}
642642

643643
[Fact]
644-
public void Should_Set_Project_Name_Url()
644+
public void Should_Set_Project_Name()
645645
{
646646
// Given
647647
var projectName = "MyProject";

0 commit comments

Comments
 (0)