Skip to content

Commit 3cba517

Browse files
authored
Make methods in InteractsWithDatabase protected
1 parent ad2eaee commit 3cba517

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Concerns/InteractsWithDatabase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020

2121
trait InteractsWithDatabase
2222
{
23-
private function assertDatabaseHas(string $table, array $data, ?string $connection = null): void
23+
protected function assertDatabaseHas(string $table, array $data, ?string $connection = null): void
2424
{
2525
$this->assertThat($data, new HasInDatabase($this->getConnection($connection), $table));
2626
}
2727

28-
private function assertDatabaseMissing(string $table, array $data, ?string $connection = null): void
28+
protected function assertDatabaseMissing(string $table, array $data, ?string $connection = null): void
2929
{
3030
$this->assertThat($data, new LogicalNot(new HasInDatabase($this->getConnection($connection), $table)));
3131
}

0 commit comments

Comments
 (0)