Skip to content

Commit

Permalink
Merge pull request #151 from wisemuji/feature/#150
Browse files Browse the repository at this point in the history
  • Loading branch information
wisemuji authored Jul 31, 2023
2 parents 97eb2f3 + 480c55f commit cd0992c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package com.droidknights.app2023.core.domain.usecase

import com.droidknights.app2023.core.data.model.ContributorEntity
import com.droidknights.app2023.core.data.repository.ContributorRepository
import com.droidknights.app2023.core.model.Contributor

internal class FakeContributorRepository(
private val contributors: List<ContributorEntity>,
private val contributors: List<Contributor>,
) : ContributorRepository {
override suspend fun getContributors(owner: String, name: String): List<ContributorEntity> {
override suspend fun getContributors(owner: String, name: String): List<Contributor> {
return contributors
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.droidknights.app2023.core.domain.usecase

import com.droidknights.app2023.core.data.model.ContributorEntity
import com.droidknights.app2023.core.model.Contributor
import io.kotest.core.spec.style.BehaviorSpec
import io.kotest.matchers.shouldBe
Expand Down Expand Up @@ -30,7 +29,7 @@ internal class GetContributorsUseCaseTest : BehaviorSpec() {

companion object {
private val contributors = listOf(
ContributorEntity(
Contributor(
name = "test name",
imageUrl = "test image url"
)
Expand Down

0 comments on commit cd0992c

Please sign in to comment.