|
@@ -44,7 +44,7 @@ discard block |
|
|
block discarded – undo |
|
44
|
44
|
|
|
45
|
45
|
|
|
46
|
46
|
$view = $this->getMockBuilder( '\Twig_Template' ) |
|
47
|
|
- ->setConstructorArgs( array ( $this->mock ) ) |
|
|
47
|
+ ->setConstructorArgs( array( $this->mock ) ) |
|
48
|
48
|
->setMethods( array( 'getBlockNames', 'render', 'renderBlock' ) ) |
|
49
|
49
|
->getMockForAbstractClass(); |
|
50
|
50
|
|
|
@@ -63,10 +63,10 @@ discard block |
|
|
block discarded – undo |
|
63
|
63
|
->getMockForAbstractClass(); |
|
64
|
64
|
|
|
65
|
65
|
$this->mock->expects( $this->once() )->method( 'getLoader' ) |
|
66
|
|
- ->will( $this->returnValue( $loader) ); |
|
|
66
|
+ ->will( $this->returnValue( $loader ) ); |
|
67
|
67
|
|
|
68
|
68
|
$this->mock->expects( $this->once() )->method( 'loadTemplate' ) |
|
69
|
|
- ->will( $this->returnValue( $view) ); |
|
|
69
|
+ ->will( $this->returnValue( $view ) ); |
|
70
|
70
|
|
|
71
|
71
|
|
|
72
|
72
|
$result = $this->object->render( $v, __FILE__, array( 'key' => 'value' ) ); |
Please login to merge, or discard this patch.