Skip to content

Commit

Permalink
fix flaky KVO test
Browse files Browse the repository at this point in the history
  • Loading branch information
bg-stripe committed Apr 21, 2017
1 parent b0b1361 commit 9b2182e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Tests/STPPaymentCardTextFieldTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ - (void)testSetCard_empty_whileEditingNumber {
}

- (void)testIsValidKVO {
id observer = OCMClassMock([NSObject class]);
id observer = OCMClassMock([UIViewController class]);
self.sut.numberField.text = @"4242424242424242";
self.sut.expirationField.text = @"10/99";
XCTAssertFalse(self.sut.isValid);
Expand Down

0 comments on commit 9b2182e

Please sign in to comment.