Skip to content

Commit

Permalink
Merge branch '4.3' into 4.4
Browse files Browse the repository at this point in the history
* 4.3:
  remove outdated workflow test
  drop wrong test (fix merge)
  • Loading branch information
chalasr committed Oct 29, 2019
2 parents cc2858f + f233259 commit 662b35e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,6 @@ public function testCachedParse()
$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();
Expand Down
7 changes: 0 additions & 7 deletions src/Symfony/Component/Workflow/Tests/TransitionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@

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');
Expand Down

0 comments on commit 662b35e

Please sign in to comment.