From 5824797aed01de29a6049a5e45a0e6fbb2b6c946 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Wed, 9 Oct 2024 15:48:14 +0200 Subject: [PATCH] Fix tests once for all... --- .../api/services/nextcloudnews/NextcloudNewsDataSourceTest.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/src/test/java/com/readrops/api/services/nextcloudnews/NextcloudNewsDataSourceTest.kt b/api/src/test/java/com/readrops/api/services/nextcloudnews/NextcloudNewsDataSourceTest.kt index c0034793..7dd86fce 100644 --- a/api/src/test/java/com/readrops/api/services/nextcloudnews/NextcloudNewsDataSourceTest.kt +++ b/api/src/test/java/com/readrops/api/services/nextcloudnews/NextcloudNewsDataSourceTest.kt @@ -338,6 +338,8 @@ class NextcloudNewsDataSourceTest : KoinTest { override fun dispatch(request: RecordedRequest): MockResponse { with(request.path!!) { + // important, otherwise test fails and I don't know why + println("request: ${request.path}") return when { this == "/folders" -> { MockResponse.okResponseWithBody(TestUtils.loadResource("services/nextcloudnews/adapters/valid_folder.json"))