Parcourir la source

remove env variable after test assertion

Rob Bast il y a 8 ans
Parent
commit
1cf4ecd648
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      tests/Composer/Test/ConfigTest.php

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

@@ -297,5 +297,6 @@ class ConfigTest extends \PHPUnit_Framework_TestCase
         putenv('COMPOSER_PROCESS_TIMEOUT=0');
         $config = new Config(true);
         $this->assertEquals(0, $config->get('process-timeout'));
+        putenv('COMPOSER_PROCESS_TIMEOUT');
     }
 }