Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/schaal/ocreader.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/test/java/email/schaal/ocreader/APITest.kt')
-rw-r--r--app/src/test/java/email/schaal/ocreader/APITest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/test/java/email/schaal/ocreader/APITest.kt b/app/src/test/java/email/schaal/ocreader/APITest.kt
index ce872696..894faa6d 100644
--- a/app/src/test/java/email/schaal/ocreader/APITest.kt
+++ b/app/src/test/java/email/schaal/ocreader/APITest.kt
@@ -42,7 +42,7 @@ class APITest {
"https://test.example.com/" to "https://test.example.com/index.php/apps/news/api/v1-2/",
"https://test.example.com/subdir" to "https://test.example.com/subdir/index.php/apps/news/api/v1-2/",
"https://test.example.com/subdir/" to "https://test.example.com/subdir/index.php/apps/news/api/v1-2/")) {
- Assert.assertEquals(url.key.toHttpUrlOrNull()!!.buildBaseUrl("$API_ROOT${Level.V12.level}/").toString(), url.value)
+ Assert.assertEquals(url.key.toHttpUrlOrNull()!!.buildBaseUrl("${API_ROOT}/${Level.V12.level}/").toString(), url.value)
}
}
} \ No newline at end of file