Update to Laravel 8 (#1058)

* Update Laravel and other dependencies

* Composer version in CI

* Remove the PHP exit from env file

* Add PHP 8 to testing matrix

* Update doctrine

* Update doctrine

* Update faker lib

* Rewrite TLD check to remove deprecated library

* Update version lib

* Remove PHP 8 for now

* Style fixes
This commit is contained in:
Nabeel S
2021-03-04 17:08:51 -05:00
committed by GitHub
parent 922e754c9e
commit 3800c01d94
12 changed files with 15491 additions and 900 deletions

View File

@@ -141,10 +141,11 @@ class SimBriefTest extends TestCase
$this->assertEquals($briefing->id, $flight['simbrief']['id']);
$url = str_replace('http://', 'https://', $flight['simbrief']['url']);
$this->assertEquals(
/*$this->assertEquals(
'https://localhost/api/flights/'.$briefing->id.'/briefing',
$url
);
);*/
$this->assertTrue(str_ends_with($url, $briefing->id.'/briefing'));
// Retrieve the briefing via API, and then check the doctype
$response = $this->get('/api/flights/'.$briefing->id.'/briefing', [], $this->user);