Skip to content

Commit

Permalink
assert affected row count in mysql upsert w/o primary key test
Browse files Browse the repository at this point in the history
  • Loading branch information
thewunder committed Aug 1, 2017
1 parent 731ebbb commit b958342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Integration/MysqlIntegrationTest.php
Expand Up @@ -52,7 +52,7 @@ public function testUpsertWithoutPrimaryKey()
$return = $this->objectMapper->getQueryHelper()
->massUpsert('extended_other_rel', [['extendedDataObjectId'=>$object->getId(), 'otherDataObjectId'=>$otherObject->getId()]]);


$this->assertEquals(1, $return);
}

protected static function createDatabase()
Expand Down

0 comments on commit b958342

Please sign in to comment.