infinito/application/src/Controller/DefaultControllerTest.php

28 lines
584 B
PHP
Raw Normal View History

2018-09-05 09:11:08 +02:00
<?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());
}
}