浏览代码

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');
         putenv('COMPOSER_PROCESS_TIMEOUT=0');
         $config = new Config(true);
         $config = new Config(true);
         $this->assertEquals(0, $config->get('process-timeout'));
         $this->assertEquals(0, $config->get('process-timeout'));
+        putenv('COMPOSER_PROCESS_TIMEOUT');
     }
     }
 }
 }