mirror of
https://github.com/exane/not-gwent-online
synced 2025-08-13 13:07:32 +00:00
add website structure
This commit is contained in:
.gitignore
site
client
public
server
.env.exampleartisan
app
Console
Events
Exceptions
Http
Jobs
Listeners
Providers
User.phpbootstrap
composer.jsoncomposer.lockconfig
app.phpauth.phpbroadcasting.phpcache.phpcompile.phpdatabase.phpfilesystems.phpmail.phpqueue.phpservices.phpsession.phpview.php
database
phpspec.ymlphpunit.xmlserver.phpstorage
tests
19
site/server/tests/ExampleTest.php
Executable file
19
site/server/tests/ExampleTest.php
Executable file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
||||
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||
|
||||
class ExampleTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* A basic functional test example.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function testBasicExample()
|
||||
{
|
||||
$this->visit('/')
|
||||
->see('Laravel 5');
|
||||
}
|
||||
}
|
25
site/server/tests/TestCase.php
Executable file
25
site/server/tests/TestCase.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
class TestCase extends Illuminate\Foundation\Testing\TestCase
|
||||
{
|
||||
/**
|
||||
* The base URL to use while testing the application.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $baseUrl = 'http://localhost';
|
||||
|
||||
/**
|
||||
* Creates the application.
|
||||
*
|
||||
* @return \Illuminate\Foundation\Application
|
||||
*/
|
||||
public function createApplication()
|
||||
{
|
||||
$app = require __DIR__.'/../bootstrap/app.php';
|
||||
|
||||
$app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();
|
||||
|
||||
return $app;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user