From 5e793a1a02e41d7b53a32e8a833318b8e2d4d8ce Mon Sep 17 00:00:00 2001
From: Karl <Karl Hasselbring>
Date: Fri, 7 Oct 2016 11:46:59 +0200
Subject: [PATCH] =?UTF-8?q?Erste=20test-tests=20eingef=C3=BCgt?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tests/ExampleTest.php    | 19 -------------------
 tests/MetaGerPhpTest.php | 24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 19 deletions(-)
 delete mode 100644 tests/ExampleTest.php
 create mode 100644 tests/MetaGerPhpTest.php

diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php
deleted file mode 100644
index 2f2d20ff7..000000000
--- 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 000000000..b50f5fea5
--- /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');
+    }
+}
-- 
GitLab