redirect to user language after profile update (#421)
This commit is contained in:
@@ -242,7 +242,9 @@ class ProfileControllerTest extends ControllerBaseTest
|
||||
]
|
||||
]);
|
||||
|
||||
$this->assertIsRedirect($client, $this->createUrl('/profile/' . urlencode(UserFixtures::USERNAME_USER) . '/prefs'));
|
||||
$targetUrl = '/ar/profile/' . urlencode(UserFixtures::USERNAME_USER) . '/prefs';
|
||||
|
||||
$this->assertIsRedirect($client, $targetUrl);
|
||||
$client->followRedirect();
|
||||
$this->assertTrue($client->getResponse()->isSuccessful());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user