Website generation with Couscous

This commit is contained in:
Milos Stojanovic
2019-06-18 10:28:46 +02:00
parent 3003376a55
commit aa966c9100
143 changed files with 815 additions and 40661 deletions

View File

@@ -1,31 +0,0 @@
<?php
/*
* This file is part of the FileGator package.
*
* (c) Milos Stojanovic <alcalbg@gmail.com>
*
* For the full copyright and license information, please view the LICENSE file
*/
namespace Tests\Unit;
use Filegator\Config\Config;
use Filegator\Services\View\Adapters\Vuejs;
use Tests\TestCase;
/**
* @internal
*/
class ViewTest extends TestCase
{
public function testViewService()
{
$config_mock = new Config(['frontend_config' => ['app_name' => 'testapp']]);
$service = new Vuejs($config_mock);
$service->init();
$this->assertRegexp('/testapp/', $service->getIndexPage());
}
}