code cleanup (#602)

This commit is contained in:
Kevin Papst
2019-02-26 02:26:37 +01:00
committed by GitHub
parent 03aa4c9ddc
commit 86832fb703
8 changed files with 12 additions and 11 deletions

View File

@@ -9,6 +9,7 @@
namespace App\Tests\Controller;
use App\Constants;
use App\Entity\User;
/**
@@ -33,7 +34,7 @@ class SidebarControllerTest extends ControllerBaseTest
$this->assertContains('<a href="/en/profile/' . $user->getUsername() . '">', $content);
$this->assertContains('<a href="/en/profile/' . $user->getUsername() . '/edit">', $content);
$this->assertContains('<a href="/en/profile/' . $user->getUsername() . '/prefs">', $content);
$this->assertContains('<a href="/en/help/">', $content);
$this->assertContains('<a href="' . Constants::HOMEPAGE . '/documentation/" target="_blank">', $content);
$this->assertContains('<a href="/en/logout">', $content);
}
}