|
|
@@ -40,7 +40,7 @@ class StatusCodeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -61,7 +61,7 @@ class StatusCodeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -89,7 +89,7 @@ class StatusCodeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -123,7 +123,7 @@ class ContentTypeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -146,7 +146,7 @@ class ContentTypeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -167,7 +167,7 @@ class ContentTypeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -195,7 +195,7 @@ class ContentTypeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -273,7 +273,7 @@ class ContentTypeValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(response, "response should not be nil")
|
|
|
@@ -306,7 +306,7 @@ class MultipleValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -328,7 +328,7 @@ class MultipleValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -357,7 +357,7 @@ class MultipleValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -392,7 +392,7 @@ class AutomaticValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -413,7 +413,7 @@ class AutomaticValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|
|
|
@@ -444,7 +444,7 @@ class AutomaticValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -470,7 +470,7 @@ class AutomaticValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNil(error, "error should be nil")
|
|
|
@@ -494,7 +494,7 @@ class AutomaticValidationTestCase: BaseTestCase {
|
|
|
expectation.fulfill()
|
|
|
}
|
|
|
|
|
|
- waitForExpectationsWithTimeout(defaultTimeout, handler: nil)
|
|
|
+ waitForExpectationsWithTimeout(timeout, handler: nil)
|
|
|
|
|
|
// Then
|
|
|
XCTAssertNotNil(error, "error should not be nil")
|