|
@@ -47,7 +47,7 @@ discard block |
|
|
block discarded – undo |
|
47
|
47
|
|
|
48
|
48
|
|
|
49
|
49
|
$view = $this->getMockBuilder( '\Twig\Template' ) |
|
50
|
|
- ->setConstructorArgs( array ( $this->mock ) ) |
|
|
50
|
+ ->setConstructorArgs( array( $this->mock ) ) |
|
51
|
51
|
->setMethods( array( 'displayBlock', 'getBlockNames', 'render' ) ) |
|
52
|
52
|
->getMockForAbstractClass(); |
|
53
|
53
|
|
|
@@ -65,7 +65,7 @@ discard block |
|
|
block discarded – undo |
|
65
|
65
|
->getMockForAbstractClass(); |
|
66
|
66
|
|
|
67
|
67
|
$this->mock->expects( $this->once() )->method( 'getLoader' ) |
|
68
|
|
- ->will( $this->returnValue( $loader) ); |
|
|
68
|
+ ->will( $this->returnValue( $loader ) ); |
|
69
|
69
|
|
|
70
|
70
|
$this->mock->expects( $this->once() )->method( 'load' ) |
|
71
|
71
|
->will( $this->returnValue( new \Twig\TemplateWrapper( $this->mock, $view ) ) ); |
Please login to merge, or discard this patch.