mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Remove travis file and fix NULL error in sqlite.
This commit is contained in:
22
.travis.yml
22
.travis.yml
@@ -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
|
|
@@ -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']),
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user