Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/AplusAgency/src/commit/0d4c1b560b64a8d81d7c5fa9b3c85cbd36ccf146/tests/CreatesApplication.php You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 

22 lines
380 B

<?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make(Kernel::class)->bootstrap();
return $app;
}
}