Skip to content
Snippets Groups Projects
Unverified Commit 33a6866d authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3160323 by ravi.shankar, John.nie, quietone, jungle: Add quotes around...

Issue #3160323 by ravi.shankar, John.nie, quietone, jungle: Add quotes around property name in exception message in Row.php
parent f96378ac
No related branches found
No related tags found
No related merge requests found
......@@ -104,7 +104,7 @@ public function __construct(array $values = [], array $source_ids = [], $is_stub
$this->isStub = $is_stub;
foreach (array_keys($source_ids) as $id) {
if (!$this->hasSourceProperty($id)) {
throw new \InvalidArgumentException("$id is defined as a source ID but has no value.");
throw new \InvalidArgumentException("'$id' is defined as a source ID but has no value.");
}
}
}
......
......@@ -114,7 +114,7 @@ public function testInvalidSourceIdCount() {
*/
public function testInvalidSourceIdKeys() {
$this->expectException(\InvalidArgumentException::class);
$this->expectExceptionMessage('version_id is defined as a source ID but has no value.');
$this->expectExceptionMessage("'version_id' is defined as a source ID but has no value.");
$this->migrateStub->createStub('sample_stubbing_migration_with_multiple_source_ids', ['id' => 17, 'not_a_key' => 17]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment