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/b6c5010521283fd4539f2c60ebc0c35f09c56a2c/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;
}
}