diff --git a/.travis.yml b/.travis.yml index 1192e77..79ede87 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,11 +8,6 @@ cache: directories: - $HOME/.composer/cache -env: - matrix: - - COMPOSER_FLAGS="--prefer-lowest" - - COMPOSER_FLAGS="" - before_script: - travis_retry composer self-update - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-dist diff --git a/tests/BaseTestCase.php b/tests/BaseTestCase.php index e377bee..958d1e5 100644 --- a/tests/BaseTestCase.php +++ b/tests/BaseTestCase.php @@ -13,7 +13,7 @@ public function setUp() //$this->setUpDatabase(); $this->migrateTables(); - $this->seed(); + $this->seedData(); // Enabled query log for test \DB::enableQueryLog(); @@ -56,7 +56,7 @@ public function migrateTables() ]); } - public function seed() + public function seedData() { SettingModel::create(['key' => 'key1', 'value' => 'value1']); SettingModel::create(['key' => 'key2', 'value' => 'value2']);