Dependencies
This commit is contained in:
22
aldarien/view/tests/ViewTest.php
Normal file
22
aldarien/view/tests/ViewTest.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class ViewTest extends TestCase
|
||||
{
|
||||
public function testView()
|
||||
{
|
||||
$output = <<<DATA
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>View</title>
|
||||
</head>
|
||||
<body>
|
||||
View test
|
||||
</body>
|
||||
</html>
|
||||
DATA;
|
||||
$this->assertEquals($output, view('base'));
|
||||
}
|
||||
}
|
||||
?>
|
Reference in New Issue
Block a user