projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
modules
/
migrate
/
tests
/
src
/
Unit
/
destination
/
EntityRevisionTest.php
diff --git
a/web/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
b/web/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
index 8a6fe9a43dbc99157d3156be5e1fcb55b5c782ec..872aac4ac0d68a9dd412c22cdbfb41c10ed60538 100644
(file)
--- a/
web/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
+++ b/
web/core/modules/migrate/tests/src/Unit/destination/EntityRevisionTest.php
@@
-176,7
+176,6
@@
class EntityRevisionTest extends UnitTestCase {
$this->assertEquals([1234], $destination->save($entity->reveal(), []));
}
$this->assertEquals([1234], $destination->save($entity->reveal(), []));
}
-
/**
* Helper method to create an entity revision destination with mock services.
*
/**
* Helper method to create an entity revision destination with mock services.
*
@@
-230,6
+229,8
@@
class EntityRevision extends RealEntityRevision {
* workings of its implementation which would trickle into mock assertions. An
* empty implementation avoids this.
*/
* workings of its implementation which would trickle into mock assertions. An
* empty implementation avoids this.
*/
- protected function updateEntity(EntityInterface $entity, Row $row) {}
+ protected function updateEntity(EntityInterface $entity, Row $row) {
+ return $entity;
+ }
}
}