From 3cfeda9c193be0d9fb31ea75b52b5abf238ceadd Mon Sep 17 00:00:00 2001 From: tabuna Date: Fri, 22 Jul 2022 17:36:22 +0300 Subject: [PATCH] ## 3.8.0 - 2022-07-22 --- CHANGELOG.md | 6 ++++++ composer.json | 4 ++-- tests/ProviderTest.php | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50fe9c2..1e67f2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to `crud` will be documented in this file +## 3.8.0 - 2022-07-22 + +### Added + +- Support for Orchid 13 + ## 3.7.0 - 2022-05-22 ### Added diff --git a/composer.json b/composer.json index 4e9debe..9e891c0 100644 --- a/composer.json +++ b/composer.json @@ -15,10 +15,10 @@ } ], "require": { - "orchid/platform": "^12.0" + "orchid/platform": "^13.0" }, "require-dev": { - "orchestra/testbench": "^70", + "orchestra/testbench": "^7.0", "phpunit/phpunit": "^9.3" }, "autoload": { diff --git a/tests/ProviderTest.php b/tests/ProviderTest.php index 50567d0..bf77d44 100644 --- a/tests/ProviderTest.php +++ b/tests/ProviderTest.php @@ -31,13 +31,13 @@ public function testArtisanMakeResource(): void $name = Str::random(); $this->artisan('orchid:resource', ['name' => $name]) - ->expectsOutput('Resource created successfully.') + ->expectsOutputToContain('Resource created successfully.') ->assertExitCode(0); $this->assertFileExists(app_path('Orchid/Resources/' . $name . '.php')); $this->artisan('orchid:resource', ['name' => $name]) - ->expectsOutput('Resource already exists!') + ->expectsOutputToContain('already exists') ->assertExitCode(0); } }