diff --git a/.github/workflows/Android_Build.yml b/.github/workflows/Android_Build.yml index c1d833f..8fb7d96 100644 --- a/.github/workflows/Android_Build.yml +++ b/.github/workflows/Android_Build.yml @@ -13,7 +13,7 @@ jobs: - name: setup JDK uses: actions/setup-java@v4 with: - java-version: 11 + java-version: 17 distribution: 'adopt' - name: Grant execute permission to Gradle wrapper diff --git a/app/src/test/java/com/omaradev/newsapp/data/repository/FakeRepository.kt b/app/src/test/java/com/omaradev/newsapp/data/repository/FakeRepository.kt index 3a6375e..e547201 100644 --- a/app/src/test/java/com/omaradev/newsapp/data/repository/FakeRepository.kt +++ b/app/src/test/java/com/omaradev/newsapp/data/repository/FakeRepository.kt @@ -29,7 +29,7 @@ class FakeRepository : Repository { return allSavedArticles } - override suspend fun deleteAllArticles(): Flow> = flow { + override fun deleteAllArticles(): Flow> = flow { allSavedArticles.clear() emit(RemoteRequestStatus.OnSuccessRequest("Success")) }