Skip to content

Commit 3b8a654

Browse files
committed
Skip unit tests that rely on user secrets
1 parent 8a22123 commit 3b8a654

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/Devlord.Utilities.Tests/DistanceApiTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ private static double ParseDuration(string distanceString)
2626
return double.Parse(resultDuration);
2727
}
2828

29-
[Fact]
29+
[Fact(Skip = "Needs to be run with user secrets")]
3030
public void ReturnsDeserializedResults()
3131
{
3232
var endPoint =
@@ -57,7 +57,7 @@ public void ReturnsDeserializedResults()
5757
}
5858
}
5959

60-
[Fact]
60+
[Fact(Skip = "Needs to be run with user secrets")]
6161
public void ReturnsExpectedResultWithCustomApi()
6262
{
6363
string endPoint =
@@ -135,7 +135,7 @@ public void ReturnsJsonResults()
135135
}
136136
}
137137

138-
[Fact]
138+
[Fact(Skip = "Needs to be run with user secrets")]
139139
public void ReturnsResultWithCustomApiAndQueryParams()
140140
{
141141
string baseUri = "https://maps.googleapis.com/maps/api/distancematrix/json?key="

0 commit comments

Comments
 (0)