CI: Update url to test admin index page

pull/5337/head
Angel Fernando Quiroz Campos 2 years ago committed by GitHub
parent 5d5778eb9e
commit 7cc4ca3826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      tests/CoreBundle/Controller/Admin/AdminControllerTest.php

@ -19,11 +19,9 @@ class AdminControllerTest extends WebTestCase
$admin = $this->getUser('admin');
$client->loginUser($admin);
$client->request('GET', '/main/admin/index.php');
$content = (string) $client->getResponse()->getContent();
$client->request('GET', '/admin/index');
$this->assertResponseIsSuccessful();
$this->assertStringContainsString('User management', $content);
}
public function testAdminSettings(): void

Loading…
Cancel
Save