Spaces:
No application file
No application file
| declare(strict_types=1); | |
| namespace Mautic\NotificationBundle\Tests\Functional\Controller; | |
| use Mautic\CoreBundle\Test\MauticMysqlTestCase; | |
| use Symfony\Component\HttpFoundation\Request; | |
| use Symfony\Component\HttpFoundation\Response; | |
| final class PopupControllerTest extends MauticMysqlTestCase | |
| { | |
| /** | |
| * Smoke test to ensure the '/s/notifications' route loads. | |
| */ | |
| public function testIndexRouteSuccessfullyLoads(): void | |
| { | |
| $this->client->request(Request::METHOD_GET, '/notification'); | |
| $response = $this->client->getResponse(); | |
| $this->assertEquals(Response::HTTP_OK, $response->getStatusCode()); | |
| } | |
| } | |