Unverified Commit 03d50d1f authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Fix an ordering dependency in the flutter_tools upgrade test (#129131)

Cache.flutterRoot is set within testUsingContext and will be
uninitialized the first time test suite setup is invoked.
parent 323c2969
......@@ -38,7 +38,7 @@ void main() {
setUp(() {
fakeCommandRunner = FakeUpgradeCommandRunner();
realCommandRunner = UpgradeCommandRunner()
..workingDirectory = Cache.flutterRoot;
..workingDirectory = getFlutterRoot();
processManager = FakeProcessManager.empty();
fakeCommandRunner.willHaveUncommittedChanges = false;
fakePlatform = FakePlatform()..environment = Map<String, String>.unmodifiable(<String, String>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment