Fix unit tests

This commit is contained in:
Romain Neutron
2014-02-20 12:34:53 +01:00
parent ad34bfa854
commit 25073721c8
10 changed files with 49 additions and 47 deletions

View File

@@ -16,6 +16,7 @@ class UsrAuthProviderRepositoryTest extends \PhraseanetTestCase
$repo = self::$DI['app']['EM']->getRepository('Phraseanet:UsrAuthProvider');
$auth = new UsrAuthProvider();
$auth->setUser(self::$DI['user']);
$auth->setProvider('provider-test');
$auth->setDistantId(12345);