Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 662b35e

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: remove outdated workflow test drop wrong test (fix merge)
2 parents cc2858f + f233259 commit 662b35e

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

src/Symfony/Component/ExpressionLanguage/Tests/ExpressionLanguageTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,6 @@ public function testCachedParse()
6363
$this->assertSame($savedParsedExpression, $parsedExpression);
6464
}
6565

66-
public function testWrongCacheImplementation()
67-
{
68-
$this->expectException('InvalidArgumentException');
69-
$this->expectExceptionMessage('Cache argument has to implement Psr\Cache\CacheItemPoolInterface.');
70-
$cacheMock = $this->getMockBuilder('Psr\Cache\CacheItemSpoolInterface')->getMock();
71-
new ExpressionLanguage($cacheMock);
72-
}
73-
7466
public function testConstantFunction()
7567
{
7668
$expressionLanguage = new ExpressionLanguage();

src/Symfony/Component/Workflow/Tests/TransitionTest.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77

88
class TransitionTest extends TestCase
99
{
10-
public function testValidateName()
11-
{
12-
$this->expectException('Symfony\Component\Workflow\Exception\InvalidArgumentException');
13-
$this->expectExceptionMessage('The transition "foo.bar" contains invalid characters.');
14-
new Transition('foo.bar', 'a', 'b');
15-
}
16-
1710
public function testConstructor()
1811
{
1912
$transition = new Transition('name', 'a', 'b');

0 commit comments

Comments
 (0)