소스 검색

remove env variable after test assertion

Rob Bast 8 년 전
부모
커밋
2ef9cde060
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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');
     }
 }