Commit bc72ddd5 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Nouvelle classe mère des tests.

parent 966d6b76
<?php
namespace UnicaenAuthTest\View\Helper;
/**
* Description of AbstractTest
*
* @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
*/
abstract class AbstractTest extends \UnicaenAppTest\View\Helper\AbstractTest
{
/**
* Sets up the fixture, for example, open a network connection.
* This method is called before a test is executed.
*/
protected function setUp()
{
parent::setUp();
$this->files = __DIR__ . '/_files';
}
}
\ No newline at end of file
<?php
namespace UnicaenAuthTest\View\Helper;
use UnicaenAppTest\View\Helper\AbstractTest;
use UnicaenAppTest\View\Helper\TestAsset\ArrayTranslatorLoader;
use UnicaenAuth\View\Helper\UserConnection;
use Zend\I18n\Translator\Translator;
......@@ -27,8 +26,6 @@ class UserConnectionTest extends AbstractTest
{
parent::setUp();
$this->files = __DIR__ . '/_files';
$this->urlHelper = $this->getMock('Zend\View\Helper\Url', array('__invoke'));
$this->renderer = $this->getMock('Zend\View\Renderer\PhpRenderer', array('plugin'));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment