You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
351 B

<?php
namespace Tests\iLaravel;
use Tests\Bootstrap;
class SettingTest extends Bootstrap
{
/**
* @test
*/
function load_setting_from_json_file() {
$jsonContent = json_decode(file_get_contents(base_path('settings.json')));
$this->assertTrue( json_encode($jsonContent) === json_encode(app()->settings));
}
}