Skip to content
Snippets Groups Projects
Commit 3c6da552 authored by Karl's avatar Karl
Browse files

Erste test-tests eingefügt

parent 6ea4408f
Branches
No related tags found
2 merge requests!496Erste Tests,!475Development
<?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');
}
}
<?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');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment