Skip to content

Commit

Permalink
## 3.8.0 - 2022-07-22
Browse files Browse the repository at this point in the history
  • Loading branch information
tabuna committed Jul 22, 2022
1 parent 4c88a4f commit 3cfeda9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions tests/ProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 3cfeda9

Please sign in to comment.