Skip to content

Commit fdc35ed

Browse files
committed
Fix a test case testSelectedTaxStatus - WooCommerceTests.ProductTaxStatusListSelectorCommandTests.
1 parent f1790ac commit fdc35ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WooCommerce/WooCommerceTests/ViewRelated/ListSelector/ProductTaxStatusListSelectorCommandTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ final class ProductTaxStatusListSelectorCommandTests: XCTestCase {
1717
XCTAssertEqual(command.selected, newTaxStatus)
1818

1919
// Select the same data twice should not clear the selected data.
20-
command.handleSelectedChange(selected: newTaxStatus, viewController: ProductTaxStatusListSelectorCommand.ViewController(coder: NSCoder())!)
20+
command.handleSelectedChange(selected: newTaxStatus, viewController: viewController)
2121
XCTAssertNotNil(command.selected)
2222
}
2323

0 commit comments

Comments
 (0)