From 9c4623cf433bf71fd04d064c00b05dbc304c2e35 Mon Sep 17 00:00:00 2001 From: chopmozzi <44396392+chopmozzi@users.noreply.github.com> Date: Thu, 11 Jan 2024 00:33:59 +0900 Subject: [PATCH] =?UTF-8?q?:recycle:=20=EB=A6=AC=EB=B7=B0=EC=82=AC?= =?UTF-8?q?=ED=95=AD=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 유경님 리뷰사항 반영 (cherry picked from commit eaa59c03e0b322a413ebc060dafb4b3053f25f4d) --- .../LayoverTests/Mocks/Workers/PlaybackInteractorTests.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/iOS/Layover/LayoverTests/Mocks/Workers/PlaybackInteractorTests.swift b/iOS/Layover/LayoverTests/Mocks/Workers/PlaybackInteractorTests.swift index 2742637..4404170 100644 --- a/iOS/Layover/LayoverTests/Mocks/Workers/PlaybackInteractorTests.swift +++ b/iOS/Layover/LayoverTests/Mocks/Workers/PlaybackInteractorTests.swift @@ -400,7 +400,7 @@ final class PlaybackInteractorTests: XCTestCase { // Arrange let spy = PlaybackPresentationLogicSpy() sut.posts = [Seeds.Posts.post1, Seeds.Posts.post2, Seeds.Posts.thumbnailImageNilPost] - sut.isTeleport = true + sut.isDelete = true sut.previousCell = Seeds.PlaybackVideo.previousCell let request: Models.DisplayPlaybackVideo.Request = Models.DisplayPlaybackVideo.Request(indexPathRow: 1, currentCell: Seeds.PlaybackVideo.currentCell) sut.presenter = spy @@ -412,7 +412,7 @@ final class PlaybackInteractorTests: XCTestCase { XCTAssertEqual(spy.presentMoveCellNextResponse.previousCell, Seeds.PlaybackVideo.previousCell) XCTAssertEqual(spy.presentMoveCellNextResponse.currentCell, Seeds.PlaybackVideo.currentCell) XCTAssertEqual(sut.previousCell, Seeds.PlaybackVideo.currentCell) - XCTAssertFalse(((sut.isDelete) != nil)) + XCTAssertFalse(sut.isDelete!) } func test_resumePlaybackView를_호출할때_previousCell이_존재하면_presentPlayInitialPlaybackCell을_호출한다() { @@ -625,7 +625,6 @@ final class PlaybackInteractorTests: XCTestCase { // act await sut.fetchPosts() -// try await Task.sleep(nanoseconds: 3_000_000_000) // Assert XCTAssertTrue(spy.presentLoadFetchVideosDidCalled, "fetchPosts가 presentLoadFetchVideos를 호출하지 않았습니다")