mirror of
https://github.com/phpmon/website
synced 2025-08-06 22:30:09 +02:00
23 lines
552 B
PHP
23 lines
552 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Feature;
|
|
|
|
use Tests\TestCase;
|
|
|
|
class RedirectReachabilityTest extends TestCase
|
|
{
|
|
public function test_redirects_work()
|
|
{
|
|
$response = $this->get('/github');
|
|
$response->assertStatus(302);
|
|
$response->assertRedirect('https://github.com/nicoverbruggen/phpmon');
|
|
|
|
$this->get('/faq')->assertStatus(302);
|
|
$this->get('/releases')->assertStatus(302);
|
|
$this->get('/sponsor')->assertStatus(302);
|
|
$this->get('/sponsor/now')->assertStatus(302);
|
|
}
|
|
}
|