Your ROOT_URL in app.ini is http://159.89.207.79:3000/ but you are visiting http://9.cron.my.id:3000/tribikram/ET-VISA/blame/branch/et%2325/tests/CreatesApplication.php You should set ROOT_URL correctly, otherwise the web may not work correctly.

23 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;
}
}