Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lib
unicaen
auth
Commits
bc72ddd5
Commit
bc72ddd5
authored
Jul 09, 2013
by
Bertrand Gauthier
Browse files
Nouvelle classe mère des tests.
parent
966d6b76
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/UnicaenAuthTest/View/Helper/AbstractTest.php
0 → 100644
View file @
bc72ddd5
<?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
tests/UnicaenAuthTest/View/Helper/UserConnectionTest.php
View file @
bc72ddd5
<?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'
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment