Exemplo n.º 1
0
 public function testAddWrongCompress(CodeGuy $I)
 {
     $I->createExamplePhar(\Yii::getAlias('@tests/_runtime/yii2-phar'));
     try {
         $I->addWrongCompress();
         $I->fail("compress with wrong params didn't fire exception");
     } catch (InvalidConfigException $error) {
         // Exception must fire.
     }
 }