Skip to content

Commit

Permalink
Use MockBundle for beta tools snapshots (#1065)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinswart committed Feb 10, 2020
1 parent 88a6b5a commit 218053d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@testable import Kickstarter_Framework
@testable import KsApi
import Library
@testable import Library
import Prelude

final class BetaToolsViewControllerTests: TestCase {
Expand All @@ -19,7 +19,7 @@ final class BetaToolsViewControllerTests: TestCase {
func testBetaToolsViewController() {
let service = MockService(serverConfig: ServerConfig.staging)

withEnvironment(apiService: service, language: .en) {
withEnvironment(apiService: service, language: .en, mainBundle: MockBundle()) {
let controller = BetaToolsViewController.instantiate()
let (parent, _) = traitControllers(device: .phone4_7inch, orientation: .portrait, child: controller)

Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 218053d

Please sign in to comment.