Skip to content

Commit

Permalink
feat(auth, web): remove stale useEmulator
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyokone committed Jul 11, 2022
1 parent 17b2e40 commit 6bcd5a9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test_driver/firebase_storage/firebase_storage_e2e.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// BSD-style license that can be found in the LICENSE file.

import 'package:drive/drive.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:firebase_storage/firebase_storage.dart';

Expand All @@ -22,10 +21,7 @@ void setupTests() {
);
await FirebaseStorage.instance
.useStorageEmulator(testEmulatorHost, testEmulatorPort);
await FirebaseAuth.instance.useAuthEmulator(testEmulatorHost, 9099);
if (FirebaseAuth.instance.currentUser == null) {
await FirebaseAuth.instance.signInAnonymously();
}

// Add a write only file
await FirebaseStorage.instance
.ref('writeOnly.txt')
Expand Down

0 comments on commit 6bcd5a9

Please sign in to comment.