@@ -58,7 +58,7 @@ public void testInitialConfigurationDoesntClobberFetch() throws IOException {
58
58
String fetchedFlagConfig =
59
59
FileUtils .readFileToString (differentFlagConfigFile , StandardCharsets .UTF_8 );
60
60
61
- when (mockHttpClient .getAsync ("/flag-config/v1/config" )).thenReturn (configFetchFuture );
61
+ when (mockHttpClient .getAsync ("/api/ flag-config/v1/config" )).thenReturn (configFetchFuture );
62
62
63
63
// Set initial config and verify that no config has been set yet.
64
64
requestor .setInitialConfiguration (initialConfigFuture );
@@ -98,7 +98,7 @@ public void testBrokenFetchDoesntClobberCache() throws IOException {
98
98
String flagConfig = FileUtils .readFileToString (initialFlagConfigFile , StandardCharsets .UTF_8 );
99
99
CompletableFuture <byte []> configFetchFuture = new CompletableFuture <>();
100
100
101
- when (mockHttpClient .getAsync ("/flag-config/v1/config" )).thenReturn (configFetchFuture );
101
+ when (mockHttpClient .getAsync ("/api/ flag-config/v1/config" )).thenReturn (configFetchFuture );
102
102
103
103
// Set initial config and verify that no config has been set yet.
104
104
requestor .setInitialConfiguration (initialConfigFuture );
@@ -135,7 +135,7 @@ public void testCacheWritesAfterBrokenFetch() throws IOException {
135
135
String flagConfig = FileUtils .readFileToString (initialFlagConfigFile , StandardCharsets .UTF_8 );
136
136
CompletableFuture <byte []> configFetchFuture = new CompletableFuture <>();
137
137
138
- when (mockHttpClient .getAsync ("/flag-config/v1/config" )).thenReturn (configFetchFuture );
138
+ when (mockHttpClient .getAsync ("/api/ flag-config/v1/config" )).thenReturn (configFetchFuture );
139
139
140
140
// Set initial config and verify that no config has been set yet.
141
141
requestor .setInitialConfiguration (initialConfigFuture );
0 commit comments