X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FCoreBundle%2FCommand%2FShowUserCommandTest.php;h=9b34f2a087c421ba5b631d203d0221b24fcdd44e;hb=882da5c5eb283cbc7a869182b26a69b8fbebda2b;hp=3b928d1e17be11290a13c5d3ca4c0684f96b2747;hpb=7bb3aa31776ffce2735a3b16f6ad80bb17946d4d;p=github%2Fwallabag%2Fwallabag.git diff --git a/tests/Wallabag/CoreBundle/Command/ShowUserCommandTest.php b/tests/Wallabag/CoreBundle/Command/ShowUserCommandTest.php index 3b928d1e..9b34f2a0 100644 --- a/tests/Wallabag/CoreBundle/Command/ShowUserCommandTest.php +++ b/tests/Wallabag/CoreBundle/Command/ShowUserCommandTest.php @@ -4,10 +4,8 @@ namespace Tests\Wallabag\CoreBundle\Command; use Symfony\Bundle\FrameworkBundle\Console\Application; use Symfony\Component\Console\Tester\CommandTester; -use Wallabag\CoreBundle\Command\CleanDuplicatesCommand; use Tests\Wallabag\CoreBundle\WallabagCoreTestCase; use Wallabag\CoreBundle\Command\ShowUserCommand; -use Wallabag\CoreBundle\Entity\Entry; use Wallabag\UserBundle\Entity\User; class ShowUserCommandTest extends WallabagCoreTestCase @@ -58,9 +56,9 @@ class ShowUserCommandTest extends WallabagCoreTestCase 'username' => 'admin', ]); - $this->assertContains('Username : admin', $tester->getDisplay()); - $this->assertContains('Email : bigboss@wallabag.org', $tester->getDisplay()); - $this->assertContains('Display name : Big boss', $tester->getDisplay()); + $this->assertContains('Username: admin', $tester->getDisplay()); + $this->assertContains('Email: bigboss@wallabag.org', $tester->getDisplay()); + $this->assertContains('Display name: Big boss', $tester->getDisplay()); $this->assertContains('2FA activated: no', $tester->getDisplay()); } @@ -90,6 +88,6 @@ class ShowUserCommandTest extends WallabagCoreTestCase 'username' => 'admin', ]); - $this->assertContains('Display name : Bug boss', $tester->getDisplay()); + $this->assertContains('Display name: Bug boss', $tester->getDisplay()); } }