Skip to content

Commit

Permalink
Update EloquentBelongsToManyTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed Apr 2, 2024
1 parent 650dc0e commit cb98148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/Database/EloquentBelongsToManyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,8 @@ public function testWherePivotNotBetween()
]);

$relationTag = $post->tags()
->wherePivotNotBetween('isActive', [true, false])
->orWherePivotNotBetween('flag', [true, false])
->wherePivotNotBetween('isActive', ['true', 'false'])
->orWherePivotNotBetween('flag', ['true', 'false'])
->first();

$this->assertEquals($relationTag->getAttributes(), $tag->getAttributes());
Expand Down

0 comments on commit cb98148

Please sign in to comment.