Skip to content

Commit 04d3872

Browse files
committed
chore: resolve conflicts
1 parent 3e99b06 commit 04d3872

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Exceptions/ResourceAlreadyExistsException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public function __construct(
1212
) {
1313
$entity = $this->getEntity();
1414

15-
parent::__construct("Cannot create {$entity} cause it already exists. Remove {$this->$filePath} and run command again.");
15+
parent::__construct("Cannot create {$entity} cause it already exists. Remove {$this->filePath} and run command again.");
1616
}
1717

1818
protected function getEntity(): string

tests/NovaTestGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function testGenerateNovaTestAlreadyExists()
7272

7373
$this->assertExceptionThrew(
7474
className: ResourceAlreadyExistsException::class,
75-
message: "Cannot create NovaPostResourceTest cause it's already exist. Remove NovaPostResourceTest.",
75+
message: "Cannot create NovaPostResourceTest cause it already exists. Remove vfs://root/app/Nova/NovaPostResourceTest.php and run command again.",
7676
);
7777

7878
app(NovaTestGenerator::class)

0 commit comments

Comments
 (0)