Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
entity system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2015 at 13:38 UTC
Updated:
28 Apr 2015 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jeqq commentedComment #2
jeqq commentedComment #3
dawehnerDo you think its worth writing some test for it?
The fix looks perfect.
Comment #4
jeqq commentedAdded a simple test for this.
Comment #5
dixon_I believe we can use
KernelTestBasefor this test instead. That way the test would run a lot faster. You basically just have to install the entity schema in thesetUp()method (with\Drupal\simpletest\KernelTestBase::installEntitySchema()).Comment #6
jeqq commentedThanks @dixon_! Used KernelTestBase instead of WebTestBase.
Comment #7
m4oliveiPatch looks good to me. Makes sense, applies clean, new test ran locally passed.
Comment #8
dixon_The new patch looks good. Simple and straight forward fix.
Comment #9
alexpottThis issue is a normal bug fix, and doesn't include any disruptive changes, so it is allowed per https://www.drupal.org/core/beta-changes. Committed 782df90 and pushed to 8.0.x. Thanks!