Merge pull request #24 from vicgonvt/update_testbench

updates testbench to 5.0 and phpunit 9
This commit is contained in:
Victor Gonzalez
2020-03-17 14:37:46 -04:00
committed by GitHub
3 changed files with 1438 additions and 1568 deletions

View File

@@ -12,7 +12,7 @@
"ext-json": "*" "ext-json": "*"
}, },
"require-dev": { "require-dev": {
"orchestra/testbench": "^3.7" "orchestra/testbench": "^5.0"
}, },
"autoload": { "autoload": {
"psr-4" : { "psr-4" : {

3002
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -83,7 +83,7 @@ class UpdaterTest extends TestCase
$this->fail('exception was thrown'); $this->fail('exception was thrown');
} catch (Exception $e) { } catch (Exception $e) {
$this->assertContains('No records or invalid JSON for', $e->getMessage()); $this->assertStringContainsString('No records or invalid JSON for', $e->getMessage());
} }
} }