Revert "Lazily download artifacts (#27374)" (#27705)

This reverts commit 98971f3c64.
This commit is contained in:
Jonah Williams
2019-02-08 15:50:18 -08:00
committed by GitHub
parent 98971f3c64
commit 7cdb30fba2
16 changed files with 219 additions and 944 deletions

View File

@@ -44,12 +44,7 @@ void main() {
testUsingContext('honors shouldUpdateCache true', () async {
final DummyFlutterCommand flutterCommand = DummyFlutterCommand(shouldUpdateCache: true);
await flutterCommand.run();
verify(cache.updateAll(
buildMode: anyNamed('buildMode'),
clobber: anyNamed('clobber'),
skipUnknown: anyNamed('skipUnknown'),
targetPlatform: anyNamed('targetPlatform')
)).called(1);
verify(cache.updateAll()).called(1);
},
overrides: <Type, Generator>{
Cache: () => cache,