Skip to content
Snippets Groups Projects
Commit 5e793a1a authored by Karl's avatar Karl
Browse files

Erste test-tests eingefügt

parent b151ec13
No related branches found
No related tags found
1 merge request!1365Resolve "Filter Options for MetaGer"
<?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.
Finish editing this message first!
Please register or to comment