fix tests after twig commands style changes
This commit is contained in:
parent
09ff9f851d
commit
311029b9a2
@ -42,7 +42,7 @@ class LintCommandTest extends \PHPUnit_Framework_TestCase
|
|||||||
$ret = $tester->execute(array('filename' => array($filename)), array('decorated' => false));
|
$ret = $tester->execute(array('filename' => array($filename)), array('decorated' => false));
|
||||||
|
|
||||||
$this->assertEquals(1, $ret, 'Returns 1 in case of error');
|
$this->assertEquals(1, $ret, 'Returns 1 in case of error');
|
||||||
$this->assertRegExp('/^ERROR in /', trim($tester->getDisplay()));
|
$this->assertRegExp('/ERROR in \S+ \(line /', trim($tester->getDisplay()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -65,7 +65,7 @@ class LintCommandTest extends \PHPUnit_Framework_TestCase
|
|||||||
$ret = $tester->execute(array('filename' => array($filename)), array('decorated' => false));
|
$ret = $tester->execute(array('filename' => array($filename)), array('decorated' => false));
|
||||||
|
|
||||||
$this->assertEquals(1, $ret, 'Returns 1 in case of error');
|
$this->assertEquals(1, $ret, 'Returns 1 in case of error');
|
||||||
$this->assertRegExp('/^ERROR in /', trim($tester->getDisplay()));
|
$this->assertRegExp('/ERROR in \S+ \(line /', trim($tester->getDisplay()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
"symfony/security": "~2.6|~3.0.0",
|
"symfony/security": "~2.6|~3.0.0",
|
||||||
"symfony/security-acl": "~2.6|~3.0.0",
|
"symfony/security-acl": "~2.6|~3.0.0",
|
||||||
"symfony/stopwatch": "~2.2|~3.0.0",
|
"symfony/stopwatch": "~2.2|~3.0.0",
|
||||||
"symfony/console": "~2.7|~3.0.0",
|
"symfony/console": "~2.8|~3.0.0",
|
||||||
"symfony/var-dumper": "~2.6|~3.0.0",
|
"symfony/var-dumper": "~2.6|~3.0.0",
|
||||||
"symfony/expression-language": "~2.4|~3.0.0"
|
"symfony/expression-language": "~2.4|~3.0.0"
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user