server/src/tests/TestCase.php
changeset 1 01a844d292ac
child 2 00e2916104fe
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/server/src/tests/TestCase.php	Mon Jun 15 19:30:32 2015 +0200
@@ -0,0 +1,19 @@
+<?php
+
+class TestCase extends Illuminate\Foundation\Testing\TestCase {
+
+	/**
+	 * Creates the application.
+	 *
+	 * @return \Illuminate\Foundation\Application
+	 */
+	public function createApplication()
+	{
+		$app = require __DIR__.'/../bootstrap/app.php';
+
+		$app->make('Illuminate\Contracts\Console\Kernel')->bootstrap();
+
+		return $app;
+	}
+
+}