Unverified Commit 9618e10a authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Add versioning to gold endpoints (#66054)

parent 8fb807a4
......@@ -398,7 +398,7 @@ void main() {
MockHttpClientResponse mockHttpResponse;
setUp(() {
url = Uri.parse('https://flutter-gold.skia.org/json/ignores');
url = Uri.parse('https://flutter-gold.skia.org/json/v1/ignores');
mockHttpRequest = MockHttpClientRequest();
mockHttpResponse = MockHttpClientResponse(utf8.encode(
ignoreResponseTemplate(
......
......@@ -17,7 +17,7 @@ String authTemplate({
}
/// Json response template for Skia Gold ignore request:
/// https://flutter-gold.skia.org/json/ignores
/// https://flutter-gold.skia.org/json/v1/ignores
String ignoreResponseTemplate({
String pullRequestNumber = '0000',
String testName = 'flutter.golden_test.1',
......
......@@ -418,7 +418,7 @@ class SkiaGoldClient {
final String traceID = getTraceID(testName);
await io.HttpOverrides.runWithHttpOverrides<Future<void>>(() async {
final Uri requestForExpectations = Uri.parse(
'https://flutter-gold.skia.org/json/latestpositivedigest/$traceID'
'https://flutter-gold.skia.org/json/v1/latestpositivedigest/$traceID'
);
late String rawResponse;
try {
......@@ -484,7 +484,7 @@ class SkiaGoldClient {
late String rawResponse;
await io.HttpOverrides.runWithHttpOverrides<Future<void>>(() async {
final Uri requestForIgnores = Uri.parse(
'https://flutter-gold.skia.org/json/ignores'
'https://flutter-gold.skia.org/json/v1/ignores'
);
try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment