aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Tests
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-10-03 06:29:55 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-10-03 13:31:48 +0200
commit0a878469d4038c36c84d1dd707265d880fa342e8 (patch)
tree2e183d359d3f1f0767ebf56277f3fc7aa415ac3f /src/Wallabag/CoreBundle/Tests
parent1210dae10589515d6f3824c75639342c5e1d52dd (diff)
downloadwallabag-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.php2
-rw-r--r--src/Wallabag/CoreBundle/Tests/WallabagCoreTestCase.php2
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;
9use FOS\UserBundle\FOSUserEvents; 9use FOS\UserBundle\FOSUserEvents;
10use FOS\UserBundle\Event\FilterUserResponseEvent; 10use FOS\UserBundle\Event\FilterUserResponseEvent;
11use Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener; 11use Wallabag\CoreBundle\EventListener\RegistrationConfirmedListener;
12use Wallabag\CoreBundle\Entity\User;
13use Wallabag\CoreBundle\Entity\Config; 12use Wallabag\CoreBundle\Entity\Config;
13use Wallabag\UserBundle\Entity\User;
14 14
15class RegistrationConfirmedListenerTest extends KernelTestCase 15class 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',