Skip to content
GitLab
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
5e793a1a
Commit
5e793a1a
authored
Oct 07, 2016
by
Karl
Browse files
Erste test-tests eingefügt
parent
b151ec13
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/ExampleTest.php
deleted
100644 → 0
View file @
b151ec13
<?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'
);
}
}
tests/MetaGerPhpTest.php
0 → 100644
View file @
5e793a1a
<?php
class
MetaGerPhpTest
extends
TestCase
{
/**
* A basic test example.
*
* @return void
*/
public
function
testExample
()
{
$this
->
assertTrue
(
true
);
$this
->
visit
(
'/'
)
->
see
(
'MetaGer'
)
->
dontSee
(
'Google'
);
$this
->
visit
(
'/'
)
->
click
(
'Datenschutz'
)
->
seePageIs
(
'/datenschutz'
);
$this
->
visit
(
'/'
)
->
type
(
'test'
,
'eingabe'
)
->
press
(
'submit'
)
->
seePageIs
(
'/meta/meta.ger3'
);
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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