fix(gift): 선물 화면의 기본 이미지를 제거한다
This commit is contained in:
@@ -1194,7 +1194,7 @@ class GiftNavigationTest {
|
||||
@Test
|
||||
@Config(qualifiers = "ko")
|
||||
@GraphicsMode(GraphicsMode.Mode.NATIVE)
|
||||
fun `선물 신청 화면은 프로필 ImageView를 바인딩하고 URL이 없으면 placeholder를 유지한다`() {
|
||||
fun `선물 신청 화면은 실제 프로필만 요청하고 URL이 없으면 빈 이미지로 시작한다`() {
|
||||
val profileImageUrl = "https://example.com/creator-profile.jpg"
|
||||
if (!ImageLoaderProvider.isInitialized) {
|
||||
ImageLoaderProvider.init(ApplicationProvider.getApplicationContext())
|
||||
@@ -1238,7 +1238,10 @@ class GiftNavigationTest {
|
||||
|
||||
assertEquals(listOf(profileImageUrl), requests.map { it.data })
|
||||
assertEquals(listOf(CircleCropTransformation()), requests.single().transformations)
|
||||
assertNotNull(withoutProfileImage.drawable)
|
||||
assertNull(requests.single().placeholder)
|
||||
assertNull(requests.single().error)
|
||||
assertNull(requests.single().fallback)
|
||||
assertNull(withoutProfileImage.drawable)
|
||||
|
||||
withProfileController.pause().stop().destroy()
|
||||
withoutProfileController.pause().stop().destroy()
|
||||
|
||||
Reference in New Issue
Block a user