File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
src/test/java/com/google/firebase Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 39
39
import com .google .common .base .Suppliers ;
40
40
import com .google .common .collect .ImmutableList ;
41
41
import com .google .common .collect .ImmutableMap ;
42
+ import com .google .common .collect .ImmutableSet ;
42
43
import com .google .firebase .FirebaseApp .TokenRefresher ;
43
44
import com .google .firebase .FirebaseOptions .Builder ;
44
45
import com .google .firebase .database .FirebaseDatabase ;
60
61
import java .util .UUID ;
61
62
import java .util .concurrent .Callable ;
62
63
import java .util .concurrent .TimeUnit ;
64
+ import org .junit .AfterClass ;
63
65
import org .junit .Assert ;
64
66
import org .junit .BeforeClass ;
65
67
import org .junit .Rule ;
@@ -83,6 +85,11 @@ public static void setupClass() throws IOException {
83
85
TestUtils .getApplicationDefaultCredentials ();
84
86
}
85
87
88
+ @ AfterClass
89
+ public static void tearDownClass () {
90
+ TestUtils .unsetEnvironmentVariables (ImmutableSet .of (FirebaseApp .FIREBASE_CONFIG_ENV_VAR ));
91
+ }
92
+
86
93
@ Test (expected = NullPointerException .class )
87
94
public void testNullAppName () {
88
95
FirebaseApp .initializeApp (OPTIONS , null );
You can’t perform that action at this time.
0 commit comments