Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'weierophinney/feature/view-layer'
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/DumbTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function testRendersWordInReverse()
{
$id = $this->captcha->generate('test');
$word = $this->captcha->getWord();
$html = $this->captcha->render(new \Zend\View\PhpRenderer);
$html = $this->captcha->render(new \Zend\View\Renderer\PhpRenderer);
$this->assertContains(strrev($word), $html);
$this->assertNotContains($word, $html);
}
Expand Down
2 changes: 1 addition & 1 deletion test/FigletTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @namespace
*/
namespace ZendTest\Captcha;
use Zend\View\PhpRenderer as View;
use Zend\View\Renderer\PhpRenderer as View;

/**
* @category Zend
Expand Down
2 changes: 1 addition & 1 deletion test/ImageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/
namespace ZendTest\Captcha;

use Zend\View\PhpRenderer as View,
use Zend\View\Renderer\PhpRenderer as View,
Zend\Captcha\Image;

/**
Expand Down
2 changes: 1 addition & 1 deletion test/ReCaptchaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function testRenderWillUseElementNameWhenRenderingNoScriptFields()
'captcha' => $captcha,
'belongsTo' => 'contact',
));
$view = new \Zend\View\PhpRenderer();
$view = new \Zend\View\Renderer\PhpRenderer();
$html = $captcha->render($view, $element);
$this->assertContains('contact[recaptcha_challenge_field]', $html);
$this->assertContains('contact[recaptcha_response_field]', $html);
Expand Down

0 comments on commit 4681cd6

Please sign in to comment.