Index: utils/tests/pub/oauth2_test.dart |
diff --git a/utils/tests/pub/oauth2_test.dart b/utils/tests/pub/oauth2_test.dart |
index e739a96adaa21707d87d6e3b71c6de4dd23edf37..d8d867a66bd484bcc4a4ea3376bb42e54833df6c 100644 |
--- a/utils/tests/pub/oauth2_test.dart |
+++ b/utils/tests/pub/oauth2_test.dart |
@@ -15,7 +15,12 @@ import '../../pub/io.dart'; |
import '../../pub/utils.dart'; |
main() { |
- setUp(() => dir(appPath, [libPubspec("test_pkg", "1.0.0")]).scheduleCreate()); |
+ setUp(() { |
+ dir(appPath, [ |
+ libPubspec("test_pkg", "1.0.0"), |
+ file("LICENSE", "Eh, do what you want.") |
+ ]).scheduleCreate(); |
+ }); |
test('with no credentials.json, authenticates and saves credentials.json', |
() { |