From 418260bea2d250694f4a2dfdf1de7a0130fda75f Mon Sep 17 00:00:00 2001 From: Nafies Luthfi Date: Sun, 8 Nov 2020 19:49:47 +0800 Subject: [PATCH] Update phpunit.xml and add laravel/legacy-factories package --- composer.json | 1 + composer.lock | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- phpunit.xml | 54 +++++++++++++++++++++++------------------------------- 3 files changed, 78 insertions(+), 32 deletions(-) diff --git a/composer.json b/composer.json index 484006e..6d90e5b 100644 --- a/composer.json +++ b/composer.json @@ -26,6 +26,7 @@ "barryvdh/laravel-debugbar": "^3.1", "fzaninotto/faker": "^1.4", "johnkary/phpunit-speedtrap": "^3.0", + "laravel/legacy-factories": "^1.1", "luthfi/simple-crud-generator": "dev-master", "mockery/mockery": "^1.0", "phpunit/phpunit": "^9.0" diff --git a/composer.lock b/composer.lock index 38c1d0c..1d5e9a6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b988d9457e04aab5a18104e102b365ba", + "content-hash": "4073fedfe0db90dfa7fb4de8d17ddefb", "packages": [ { "name": "backup-manager/backup-manager", @@ -4631,6 +4631,7 @@ "faker", "fixtures" ], + "abandoned": true, "time": "2019-12-12T13:22:17+00:00" }, { @@ -4791,6 +4792,58 @@ "time": "2020-10-30T09:10:17+00:00" }, { + "name": "laravel/legacy-factories", + "version": "v1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/legacy-factories.git", + "reference": "5e3fe2fd5fda64e20ea5c74c831a7346294e902a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/legacy-factories/zipball/5e3fe2fd5fda64e20ea5c74c831a7346294e902a", + "reference": "5e3fe2fd5fda64e20ea5c74c831a7346294e902a", + "shasum": "" + }, + "require": { + "illuminate/macroable": "^8.0", + "php": "^7.3|^8.0", + "symfony/finder": "^3.4|^4.0|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + }, + "laravel": { + "providers": [ + "Illuminate\\Database\\Eloquent\\LegacyFactoryServiceProvider" + ] + } + }, + "autoload": { + "files": [ + "helpers.php" + ], + "psr-4": { + "Illuminate\\Database\\Eloquent\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The legacy version of the Laravel Eloquent factories.", + "homepage": "http://laravel.com", + "time": "2020-10-27T14:25:32+00:00" + }, + { "name": "luthfi/simple-crud-generator", "version": "dev-master", "source": { diff --git a/phpunit.xml b/phpunit.xml index 075c186..d87a0a9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,33 +1,25 @@ - - - - ./tests/ - - - - - app/ - - - - - - - - - - - - - - + + + + app/ + + + + + ./tests/ + + + + + + + + + + + + + +