diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-10-03 06:29:55 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2015-10-03 13:31:48 +0200 |
commit | 0a878469d4038c36c84d1dd707265d880fa342e8 (patch) | |
tree | 2e183d359d3f1f0767ebf56277f3fc7aa415ac3f /src/Wallabag/CoreBundle/Tests | |
parent | 1210dae10589515d6f3824c75639342c5e1d52dd (diff) | |
download | wallabag-0a878469d4038c36c84d1dd707265d880fa342e8.tar.gz wallabag-0a878469d4038c36c84d1dd707265d880fa342e8.tar.zst wallabag-0a878469d4038c36c84d1dd707265d880fa342e8.zip |
move some files to UserBundle
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php | 2 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php b/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php index 137c097c..df94fad2 100644 --- a/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php +++ b/src/Wallabag/CoreBundle/Tests/EventListener/RegistrationConfirmedListenerTest.php | |||
@@ -9,8 +9,8 @@ use Symfony\Component\HttpFoundation\Response; | |||
9 | use FOS\UserBundle\FOSUserEvents; | 9 | use FOS\UserBundle\FOSUserEvents; |
10 | use FOS\UserBundle\Event\FilterUserResponseEvent; | 10 | use FOS\UserBundle\Event\FilterUserResponseEvent; |
11 | use Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener; | 11 | use Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener; |
12 | use Wallabag\CoreBundle\Entity\User; | ||
13 | use Wallabag\CoreBundle\Entity\Config; | 12 | use Wallabag\CoreBundle\Entity\Config; |
13 | use Wallabag\UserBundle\Entity\User; | ||
14 | 14 | ||
15 | class RegistrationConfirmedListenerTest extends KernelTestCase | 15 | class RegistrationConfirmedListenerTest extends KernelTestCase |
16 | { | 16 | { |
diff --git a/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php b/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php index 756525a9..e5096528 100644 --- a/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php +++ b/src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php | |||
@@ -21,7 +21,7 @@ abstract class WallabagCoreTestCase extends WebTestCase | |||
21 | public function logInAs($username) | 21 | public function logInAs($username) |
22 | { | 22 | { |
23 | $crawler = $this->client->request('GET', '/login'); | 23 | $crawler = $this->client->request('GET', '/login'); |
24 | $form = $crawler->filter('input[type=submit]')->form(); | 24 | $form = $crawler->filter('button[type=submit]')->form(); |
25 | $data = array( | 25 | $data = array( |
26 | '_username' => $username, | 26 | '_username' => $username, |
27 | '_password' => 'mypassword', | 27 | '_password' => 'mypassword', |