diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php deleted file mode 100644 index 2f2d20ff7238ffc389d60259ba8cf3a5ca95bacb..0000000000000000000000000000000000000000 --- a/tests/ExampleTest.php +++ /dev/null @@ -1,19 +0,0 @@ -<?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'); - } -} diff --git a/tests/MetaGerPhpTest.php b/tests/MetaGerPhpTest.php new file mode 100644 index 0000000000000000000000000000000000000000..b50f5fea5c386fcc72929fa2372fe36c55446427 --- /dev/null +++ b/tests/MetaGerPhpTest.php @@ -0,0 +1,24 @@ +<?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'); + } +}