Skip to content

Commit

Permalink
[fluidapi] - 'more things I broke because I was manually testing... -…
Browse files Browse the repository at this point in the history
… TT'
  • Loading branch information
Tyler-Keith-Thompson committed Nov 7, 2019
1 parent 2f13b62 commit 29c5b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion WorkflowExample/Ordering/MenuSelectionViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ extension MenuSelectionViewController: FlowRepresentable {
o.menuType = order.location?.menuTypes.first
proceedInWorkflow(o)
}
return false
return (order.location?.menuTypes.count ?? 0) > 1
}
}
4 changes: 2 additions & 2 deletions WorkflowTests/UIKitPresenterTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ class UIKitPresenterTests: XCTestCase {
(UIApplication.topViewController() as? FR1)?.proceedInWorkflow()
waitUntil(UIApplication.topViewController() is FR3)
XCTAssert(UIApplication.topViewController() is FR3)
(UIApplication.topViewController()?.navigationController)?.backButton?.simulateTouch()
(UIApplication.topViewController()?.navigationController)?.popViewController(animated: false)
waitUntil(UIApplication.topViewController() is FR2)
XCTAssert(UIApplication.topViewController() is FR2)
}
Expand Down Expand Up @@ -636,7 +636,7 @@ class UIKitPresenterTests: XCTestCase {
(UIApplication.topViewController() as? FR2)?.proceedInWorkflow()
waitUntil(UIApplication.topViewController() is FR3)
XCTAssert(UIApplication.topViewController() is FR3)
(UIApplication.topViewController()?.navigationController)?.backButton?.simulateTouch()
(UIApplication.topViewController()?.navigationController)?.popViewController(animated: false)
waitUntil(UIApplication.topViewController() is FR1)
XCTAssert(UIApplication.topViewController() is FR1)
}
Expand Down

0 comments on commit 29c5b9e

Please sign in to comment.