#29545 closed defect (bug) (fixed)
Update Tests_Paginate_Links for PHPUnit 4.2
Reported by: | jeffstieler | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Build/Test Tools | Keywords: | has-patch |
Focuses: | Cc: |
Description
PHPUnit 4.2 deprecated assertTag
. See https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.2.0
I've changed the test_paginate_links_base_value
case to use DOMDocument
instead.
An alternate solution could be to have WP_UnitTestCase
inherit from PHPUnit_Framework_DOMTestCase.
Attachments (1)
Change History (9)
#3
@
10 years ago
- Owner set to wonderboymusic
- Resolution set to fixed
- Status changed from new to closed
#4
follow-ups:
↓ 5
↓ 6
@
10 years ago
Thanks Scott!
Can we fix the "props"? I use a widget that pulls in core contributions based on that and it can't find me.
#5
in reply to:
↑ 4
@
10 years ago
Replying to jeffstieler:
Thanks Scott!
Can we fix the "props"? I use a widget that pulls in core contributions based on that and it can't find me.
Sorry, commit messages can't be changed after the fact. Maybe just add a new rule. :)
#6
in reply to:
↑ 4
@
10 years ago
Replying to jeffstieler:
Can we fix the "props"? I use a widget that pulls in core contributions based on that and it can't find me.
Welcome to the club. ;)
In 29746: