Initial commit
All checks were successful
PHP Composer / build (push) Successful in 10m28s

This commit is contained in:
Armel van Ravels
2024-08-30 20:29:39 +02:00
commit bb1d280731
38 changed files with 7226 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
<?php
declare(strict_types=1);
it('returns status 200', function (): void {
$response = get('/');
$body = $response->getBody();
$body->rewind();
expect($response->getStatusCode())->toBe(200);
});
it('view is rendered', function (): void {
$response = get('/');
$body = $response->getBody();
$body->rewind();
expect($body->getContents())->toBe('Welkom');
});