Closed (won't fix)
Project:
Drupal core
Version:
8.0.x-dev
Component:
phpunit
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jan 2015 at 09:01 UTC
Updated:
18 Jan 2015 at 20:45 UTC
Jump to comment: Most recent
Follow-up to #2331685: PHPUnit deprecated assertTag(), assertNotTag() and assertSelectEquals()
@dawehner in #2331685-15: PHPUnit deprecated assertTag(), assertNotTag() and assertSelectEquals()
Ideally not all our unit tests would extend from dom test, but well, maybe we have to wait until the trait is in.
Create a similar patch to https://github.com/phpunit/phpunit-dom-assertions/pull/4 for drupal
None
UnitTestCase will again extend \PHPUnit_Framework_TestCase
And all the phpunit test using assertTag() and assertSelectEquals() will use this trait
Comments
Comment #1
dawehnerWell yeah I would wait until the phpunit merge is in and then just use it.
Comment #2
jibranPR merged. Now postpone on #2331685: PHPUnit deprecated assertTag(), assertNotTag() and assertSelectEquals()
Comment #3
jibranWe are not using phpunit-dom-assertions anymore so won't fix.