update project
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Feature\SchoolCore\Finance;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class PaymentFileRouteTest extends TestCase
|
||||
{
|
||||
public function test_phase3_route_documents_payment_id_based_file_access(): void
|
||||
{
|
||||
$routeFile = dirname(__DIR__, 4).'/routes/finance_phase3.php';
|
||||
|
||||
$this->assertFileExists($routeFile);
|
||||
|
||||
$routes = file_get_contents($routeFile);
|
||||
|
||||
$this->assertStringContainsString('payments/{payment}/file', $routes);
|
||||
$this->assertStringContainsString('school.context', $routes);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user