From 77ea890ea39aafe559fa21372bcc3695531a4999 Mon Sep 17 00:00:00 2001 From: Kota-Jagadeesh Date: Sat, 18 Oct 2025 22:38:11 +0530 Subject: [PATCH] test:implement unit tests for fetching campaigns and fix DTO mocking logic --- .../test/kotlin/fr/free/nrw/commons/OkHttpJsonApiClientTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/test/kotlin/fr/free/nrw/commons/OkHttpJsonApiClientTests.kt b/app/src/test/kotlin/fr/free/nrw/commons/OkHttpJsonApiClientTests.kt index e26e22045..1a9d1500b 100644 --- a/app/src/test/kotlin/fr/free/nrw/commons/OkHttpJsonApiClientTests.kt +++ b/app/src/test/kotlin/fr/free/nrw/commons/OkHttpJsonApiClientTests.kt @@ -240,7 +240,7 @@ class OkHttpJsonApiClientTests { fun loadJsonFromResource(fileName: String): String { val resourcePath = "raw/$fileName" - //use the classloader to find the resource in the test environment + //uses the classloader to find the resource in the test environment val inputStream = javaClass.classLoader?.getResourceAsStream(resourcePath) if (inputStream != null) {