Merge branch '4.3' into 4.4
* 4.3: remove outdated workflow test drop wrong test (fix merge)
This commit is contained in:
commit
662b35e30e
@ -63,14 +63,6 @@ class ExpressionLanguageTest extends TestCase
|
||||
$this->assertSame($savedParsedExpression, $parsedExpression);
|
||||
}
|
||||
|
||||
public function testWrongCacheImplementation()
|
||||
{
|
||||
$this->expectException('InvalidArgumentException');
|
||||
$this->expectExceptionMessage('Cache argument has to implement Psr\Cache\CacheItemPoolInterface.');
|
||||
$cacheMock = $this->getMockBuilder('Psr\Cache\CacheItemSpoolInterface')->getMock();
|
||||
new ExpressionLanguage($cacheMock);
|
||||
}
|
||||
|
||||
public function testConstantFunction()
|
||||
{
|
||||
$expressionLanguage = new ExpressionLanguage();
|
||||
|
@ -7,13 +7,6 @@ use Symfony\Component\Workflow\Transition;
|
||||
|
||||
class TransitionTest extends TestCase
|
||||
{
|
||||
public function testValidateName()
|
||||
{
|
||||
$this->expectException('Symfony\Component\Workflow\Exception\InvalidArgumentException');
|
||||
$this->expectExceptionMessage('The transition "foo.bar" contains invalid characters.');
|
||||
new Transition('foo.bar', 'a', 'b');
|
||||
}
|
||||
|
||||
public function testConstructor()
|
||||
{
|
||||
$transition = new Transition('name', 'a', 'b');
|
||||
|
Reference in New Issue
Block a user