File tree Expand file tree Collapse file tree 2 files changed +1
-12
lines changed
app/Console/Commands/Server
tests/Unit/Services/Servers Expand file tree Collapse file tree 2 files changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -86,9 +86,8 @@ public function handle()
8686 {
8787 $ servers = $ this ->getServersToProcess ();
8888 $ bar = $ this ->output ->createProgressBar (count ($ servers ));
89- $ results = [];
9089
91- $ servers ->each (function ($ server ) use ($ bar, & $ results ) {
90+ $ servers ->each (function ($ server ) use ($ bar ) {
9291 $ bar ->clear ();
9392 $ json = [
9493 'build ' => [
Original file line number Diff line number Diff line change @@ -142,14 +142,4 @@ public function testProcessShouldAcceptAnIntegerInPlaceOfAServerModel()
142142
143143 $ this ->assertTrue (is_array ($ response ), 'Assert that response is an array. ' );
144144 }
145-
146- /**
147- * Test that an exception is thrown when no model or valid ID is provided.
148- *
149- * @expectedException \InvalidArgumentException
150- */
151- public function testProcessShouldThrowExceptionIfInvalidServerIsProvided ()
152- {
153- $ this ->service ->process ('abcd ' );
154- }
155145}
You can’t perform that action at this time.
0 commit comments