Browse Source

Fix support for testing exit code

The `$sectionData` was being overwritten, causing its assertion 
(`$this->assertSame()`) to fail.
Jad Bitar 8 years ago
parent
commit
8625efd551
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tests/Composer/Test/AllFunctionalTest.php

+ 1 - 0
tests/Composer/Test/AllFunctionalTest.php

@@ -183,6 +183,7 @@ class AllFunctionalTest extends TestCase
 
                 case 'EXPECT-EXIT-CODE':
                     $sectionData = (integer) $sectionData;
+                    break;
 
                 case 'EXPECT':
                 case 'EXPECT-REGEX':