Skip to content

Commit 6c53a71

Browse files
committed
adds missing comment back
1 parent 6d1a621 commit 6c53a71

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/Database/Base.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4981,6 +4981,7 @@ public function testOneToOneTwoWayRelationship(): void
49814981
$country1 = static::getDatabase()->getDocument('country', 'country1');
49824982
$this->assertEquals('London', $country1->getAttribute('city')->getAttribute('name'));
49834983

4984+
// Update a document with non existing related document. It should not get added to the list.
49844985
static::getDatabase()->updateDocument('country', 'country1', (new Document($doc->getArrayCopy()))->setAttribute('city', 'no-city'));
49854986

49864987
$country1Document = static::getDatabase()->getDocument('country', 'country1');

0 commit comments

Comments
 (0)