mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-25 05:02:22 +01:00
28 lines
584 B
PHP
28 lines
584 B
PHP
|
<?php
|
||
|
namespace App\Controller;
|
||
|
|
||
|
use PHPUnit\Framework\TestCase;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* @author kevinfrantz
|
||
|
*
|
||
|
*/
|
||
|
class DefaultControllerTest extends TestCase
|
||
|
{
|
||
|
protected $defaultController;
|
||
|
|
||
|
public function setUp():void{
|
||
|
$this->defaultController = new DefaultController();
|
||
|
}
|
||
|
|
||
|
public function testHomepage():void{
|
||
|
$this->assertEquals(true, $this->defaultController->homepage()->isSuccessful());
|
||
|
}
|
||
|
|
||
|
public function testImprint():void{
|
||
|
$this->assertEquals(true, $this->defaultController->imprint()->isSuccessful());
|
||
|
}
|
||
|
}
|
||
|
|