3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-10 05:05:32 +00:00
Files
snipe-it/Tests/_support/Helper/Api.php
2021-12-02 14:02:16 -08:00

18 lines
335 B
PHP

<?php
namespace Helper;
use Illuminate\Support\Facades\Artisan;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class Api extends \Codeception\Module
{
public function setupDatabase()
{
Artisan::call('migrate');
Artisan::call('db:seed');
}
}