aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example
diff options
context:
space:
mode:
authorGravatar Sebastian Schmidt <mrschmidt@google.com>2018-04-11 10:38:31 -0700
committerGravatar Sebastian Schmidt <mrschmidt@google.com>2018-04-11 10:38:31 -0700
commita7ce4d9d3c33ac5e1e1ce9a5e7952cb0946aba96 (patch)
treed2433f51f4a75d2e881c15e8bcb4e7ab34ade9d9 /Example
parent1feabba011dd73fed97fcf38828500d7bd7e79ff (diff)
Being less technically correct
Diffstat (limited to 'Example')
-rw-r--r--Example/Storage/Tests/Integration/FIRStorageIntegrationTests.m5
1 files changed, 1 insertions, 4 deletions
diff --git a/Example/Storage/Tests/Integration/FIRStorageIntegrationTests.m b/Example/Storage/Tests/Integration/FIRStorageIntegrationTests.m
index 2e765f6..5b428c1 100644
--- a/Example/Storage/Tests/Integration/FIRStorageIntegrationTests.m
+++ b/Example/Storage/Tests/Integration/FIRStorageIntegrationTests.m
@@ -12,10 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#import <FirebaseStorage/FIRStorageMetadata.h>
#import <XCTest/XCTest.h>
-#import <math.h>
-
#import "FirebaseStorage.h"
#import <FirebaseCore/FIRApp.h>
@@ -381,7 +378,7 @@ NSTimeInterval kFIRStorageIntegrationTestTimeout = 30;
/// Only allow 1kB size, which is smaller than our file
[ref dataWithMaxSize:1 * 1024
completion:^(NSData *data, NSError *error) {
- XCTAssertNil(nil);
+ XCTAssertNil(data);
XCTAssertEqual(error.code, FIRStorageErrorCodeDownloadSizeExceeded);
[expectation fulfill];
}];