Permalink
Browse files

configuration for tests and seeders

  • Loading branch information...
renatomarinho committed Jul 30, 2017
1 parent 41fee77 commit 37f1e42ef1d7749d8c95397d7696f6a11fb0bb17
@@ -0,0 +1,24 @@
APP_ENV=testing
APP_KEY=base64:W2ToyfW8zHqtWfcZb1hp2kZgccbuy3XtERDyZywtVkE=
APP_DEBUG=true
APP_LOG_LEVEL=debug
APP_URL=http://app.gitscrum.dev
APP_TITLE=GitScrum
APP_LANG=en

GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=

GITLAB_KEY=
GITLAB_SECRET=
GITLAB_INSTANCE_URI=https://gitlab.com/

DB_CONNECTION=sqlite

APP_PAGINATE=10

PROXY_PORT=
PROXY_METHOD=
PROXY_SERVER=
PROXY_USER=
PROXY_PASS=
@@ -122,7 +122,7 @@
| the box, Laravel uses the Monolog PHP logging library. This gives
| you a variety of powerful log handlers / formatters to utilize.
|
| Available Settings: "single", "daily", "syslog", "errorlog"
| Available Setting: "single", "daily", "syslog", "errorlog"
|
*/
@@ -69,7 +69,7 @@
'database' => ':memory:',
'prefix' => '',
],
'mysql' => [
'driver' => 'mysql',
'host' => env('DB_HOST', 'localhost'),
@@ -10,7 +10,7 @@
/*
|--------------------------------------------------------------------------
| Debugbar Settings
| Debugbar Setting
|--------------------------------------------------------------------------
|
| Debugbar is enabled by default, when debug is set to true in app.php.
@@ -0,0 +1,18 @@
<?php
use Illuminate\Database\Seeder;
class DummySeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run()
{
(new SettingSeeder)->run();
}
private function delete()
{
}
}
@@ -2,17 +2,22 @@
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
class SettingSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run()
{
// $this->call(UsersTableSeeder::class);
$this->delete();
$this->call(ConfigIssueEffortsTableSeeder::class);
$this->call(ConfigPrioritiesTableSeeder::class);
$this->call(IssueTypesTableSeeder::class);
$this->call('ConfigStatusesTableSeeder');
$this->call(ConfigStatusesTableSeeder::class);
}
private function delete()
{
}
}
@@ -9,5 +9,6 @@ class JwtAuthenticateTest extends TestCase
{
public function testJwtAuthTest_Login()
{
$this->assertTrue(true);
}
}

0 comments on commit 37f1e42

Please sign in to comment.