Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 committed Mar 14, 2024
1 parent 649ea18 commit a17ee54
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Database/Eloquent/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public function testOrWhere(): void
public function testFind(): void
{
$id = $this->faker()->numberBetween(1);
$stringAttribute = $this->faker()->word;
$stringAttribute = $this->faker()->word();

$this->connection
->shouldReceive('getName')
Expand Down Expand Up @@ -221,7 +221,7 @@ public function testGet(): void
'boolAttribute' => 1,
'booleanAttribute' => 1,
'objectAttribute' => json_encode([
$this->faker()->word() => $this->faker()->randomLetter,
$this->faker()->word() => $this->faker()->randomLetter()
]),
'arrayAttribute' => json_encode(range(1, 5)),
'dateAttribute' => now()->toDateTimeString(),
Expand Down
4 changes: 2 additions & 2 deletions tests/Unit/Database/Query/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ public function testInsert(): void

$insertedRow = [
$this->faker()->word() => $this->faker()->randomDigit(),
$this->faker()->randomLetter => $this->faker()->randomDigit(),
$this->faker()->numerify('column_#') => $this->faker()->randomLetter,
$this->faker()->randomLetter() => $this->faker()->randomDigit(),
$this->faker()->numerify('column_#') => $this->faker()->randomLetter(),
];

\ksort($insertedRow);
Expand Down

0 comments on commit a17ee54

Please sign in to comment.