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()
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 ();
Original file line number Diff line number Diff line change 77
88class 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 ' );
You can’t perform that action at this time.
0 commit comments