-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #972 from DeluxeAlonso/feature/code-cleanup
Feature/code cleanup
- Loading branch information
Showing
4 changed files
with
40 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
UpcomingMoviesTests/Movies/SearchMovies/SearchOptions/SearchOptionsDataSourceTests.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// | ||
// SearchOptionsDataSourceTests.swift | ||
// UpcomingMoviesTests | ||
// | ||
// Created by Alonso on 9/09/24. | ||
// Copyright © 2024 Alonso. All rights reserved. | ||
// | ||
|
||
import XCTest | ||
@testable import UpcomingMovies | ||
|
||
final class SearchOptionsDataSourceTests: XCTestCase { | ||
|
||
private var dataSource: SearchOptionsDataSource! | ||
private var viewModel: MockSearchOptionsViewModel! | ||
|
||
override func setUpWithError() throws { | ||
try super.setUpWithError() | ||
viewModel = MockSearchOptionsViewModel() | ||
dataSource = SearchOptionsDataSource(viewModel: viewModel) | ||
} | ||
|
||
override func tearDownWithError() throws { | ||
dataSource = nil | ||
viewModel = nil | ||
try super.tearDownWithError() | ||
} | ||
|
||
} |