File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function progressAction()
128
128
// "install.log" file may not be created yet. Check the "install.log" is created before
129
129
// trying to read from it.
130
130
if (!$ this ->log ->logfileExists ()) {
131
- return $ json ->setVariables (['progress ' => $ percent , 'success ' => $ success , 'console ' => $ contents ]);
131
+ return $ json ->setVariables (['progress ' => $ percent , 'success ' => true , 'console ' => $ contents ]);
132
132
}
133
133
134
134
try {
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ public function testProgressActionNoInstallLogFile()
161
161
$ variables = $ jsonModel ->getVariables ();
162
162
$ this ->assertArrayHasKey ('success ' , $ variables );
163
163
$ this ->assertArrayHasKey ('console ' , $ variables );
164
- $ this ->assertFalse ($ variables ['success ' ]);
164
+ $ this ->assertTrue ($ variables ['success ' ]);
165
165
$ this ->assertEmpty ($ variables ['console ' ]);
166
166
$ this ->assertSame (0 , $ variables ['progress ' ]);
167
167
}
You can’t perform that action at this time.
0 commit comments