Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
8e0e9d4d
Commit
8e0e9d4d
authored
Apr 29, 2016
by
Dominik Hebeler
Browse files
Erster Commit
parents
Changes
103
Show whitespace changes
Inline
Side-by-side
storage/logs/.gitignore
0 → 100644
View file @
8e0e9d4d
*
!.gitignore
tests/ExampleTest.php
0 → 100644
View file @
8e0e9d4d
<?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'
);
}
}
tests/TestCase.php
0 → 100644
View file @
8e0e9d4d
<?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
;
}
}
Prev
1
2
3
4
5
6
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment