Merge branch '4.3' into 4.4

* 4.3:
  remove outdated workflow test
  drop wrong test (fix merge)
This commit is contained in:
Robin Chalas 2019-10-29 04:34:23 +01:00
commit 662b35e30e
2 changed files with 0 additions and 15 deletions

View File

@ -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();

View File

@ -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');