Skip to content

Commit

Permalink
fixup! fix: add failing test when aliasing a column of a joined relation
Browse files Browse the repository at this point in the history
  • Loading branch information
alquerci committed Apr 15, 2024
1 parent e089921 commit 6a0fe33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Ticket/585TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function test_hydrateArrayShallow_withAllColumnsAliased_thenResultsHasAll
public function test_hydrateArray_withAllColumnsAliased_thenResultsHasAllRecords()
{
$hydrateType = Doctrine_Core::HYDRATE_ARRAY;
$expectedKeys = array('aliasId', 'aliasName');
$expectedKeys = array('id', 'aliasId', 'aliasName');

$this->doTestWithAllColumnsAliased($hydrateType, $expectedKeys);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Ticket/GH134TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function test_hydrateArrayShallow_withAllColumnsAliased_thenResultsHasAll
public function test_hydrateArray_withAllColumnsAliased_thenResultsHasAllRecords()
{
$hydrateType = Doctrine_Core::HYDRATE_ARRAY;
$expectedKeys = array('id', 'aliasAddress');
$expectedKeys = array('id', 'aliasAddress', 'Email');

$this->doTestWithAllColumnsAliased($hydrateType, $expectedKeys);
}
Expand Down

0 comments on commit 6a0fe33

Please sign in to comment.