Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
IonBazan committed May 11, 2022
1 parent 500f2ad commit 9c9f90f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Doctrine/ODM/MongoDB/Tests/Functional/EnumTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function testQueryWithMappedField(): void
public function testQueryWithMappedFieldAndEnumValue(): void
{
$qb = $this->dm->createQueryBuilder(Card::class)
->field('suit')->equals(Suit::Spades->value)
->field('suit')->equals('S') // Suit::Spades->value
->field('nullableSuit')->in(['H', 'D']);

$this->assertSame([
Expand Down

0 comments on commit 9c9f90f

Please sign in to comment.