Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Fixes unit test compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashfurrow committed Oct 29, 2018
1 parent 55059f3 commit c4e0426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KioskTests/ListingsViewControllerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ class ListingsViewControllerConfiguration: QuickConfiguration {
var viewModel: ListingsViewControllerTestsStubbedViewModel!

beforeEach{
subject = sharedExampleContext()["subject"] as! ListingsViewController
viewModel = subject.viewModel as! ListingsViewControllerTestsStubbedViewModel
subject = sharedExampleContext()["subject"] as? ListingsViewController
viewModel = subject.viewModel as? ListingsViewControllerTestsStubbedViewModel
subject.loadViewProgrammatically()
}

Expand Down

0 comments on commit c4e0426

Please sign in to comment.