Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna created an issue. See original summary.

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
23.73 KB

Tests written for #1798646.

DamienMcKenna’s picture

The tests cover some basic CRUD actions, translation using Entity Translation, and then translation when attached to a node using EntityReference. So far the basic functionality appears to be working well, even with translations. There's a whole lot more to do to build these out, but this should help with regression testing and create a platform to build upon for the additional changes that are to be added to the 7.x-2.x branch.

DamienMcKenna’s picture

ICBW but I think if we also had tests for the permissions structure we'd then be able to ditch the behat tests entirely.

DamienMcKenna’s picture

FileSize
23.74 KB

Wrong filenames. Duh.

DamienMcKenna’s picture

FileSize
1.21 KB
23.7 KB

Only one test file was picked up that time, lets see if this fixes the problem.

DamienMcKenna’s picture

Further improvements.

Status: Needs review » Needs work

The last submitted patch, 7: eck-n2889325-7.patch, failed testing. View results

DamienMcKenna’s picture

Status: Needs work » Needs review
FileSize
4.57 KB
24.12 KB

Duh, Damien, OOP basics.

DamienMcKenna’s picture

FileSize
24.16 KB
372 bytes

It isn't picking up the translation tests because of a missing test dependency.

DamienMcKenna’s picture

Once the test_dependencies[] lines are committed it'll then run the translation tests too.

DamienMcKenna’s picture

Rerunning the tests to make sure it still all works.

pifagor’s picture

Status: Needs review » Reviewed & tested by the community

+1

pifagor’s picture

pifagor’s picture

Status: Reviewed & tested by the community » Fixed
DamienMcKenna’s picture

Excellent! Thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.