Commit 3c6da552 authored by Karl's avatar Karl

Erste test-tests eingefügt

parent 6ea4408f
<?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');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment