Remove travis file and fix NULL error in sqlite.

This commit is contained in:
James Cole 2016-08-12 14:50:25 +02:00
parent 015935ed55
commit 955306d877
2 changed files with 5 additions and 26 deletions

View File

@ -1,22 +0,0 @@
language: php
sudo: false
php:
- 7
install:
- phpenv config-rm xdebug.ini
- composer selfupdate
- rm composer.lock
- composer update --no-scripts
- php artisan clear-compiled
- php artisan optimize
- php artisan env
- mv -v .env.testing .env
- php artisan env
- touch storage/upload/at-1.data
- touch storage/upload/at-2.data
- touch storage/database/testing.db
- php artisan migrate --seed
script:
- phpunit

View File

@ -810,10 +810,11 @@ class TestData
foreach ($this->data['users'] as $user) { foreach ($this->data['users'] as $user) {
$insert[] $insert[]
= [ = [
'created_at' => $this->time, 'created_at' => $this->time,
'updated_at' => $this->time, 'updated_at' => $this->time,
'email' => $user['email'], 'email' => $user['email'],
'password' => bcrypt($user['password']), 'remember_token' => '',
'password' => bcrypt($user['password']),
]; ];
} }