File tree Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Expand file tree Collapse file tree 2 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,6 @@ public function testCachedParse()
63
63
$ this ->assertSame ($ savedParsedExpression , $ parsedExpression );
64
64
}
65
65
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
-
74
66
public function testConstantFunction ()
75
67
{
76
68
$ expressionLanguage = new ExpressionLanguage ();
Original file line number Diff line number Diff line change 7
7
8
8
class TransitionTest extends TestCase
9
9
{
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
-
17
10
public function testConstructor ()
18
11
{
19
12
$ transition = new Transition ('name ' , 'a ' , 'b ' );
You can’t perform that action at this time.
0 commit comments