#29545 closed defect (bug) (fixed)
Update Tests_Paginate_Links for PHPUnit 4.2
| Reported by: | jeffstieler | Owned by: | wonderboymusic |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.1 |
| Component: | Build/Test Tools | Version: | 4.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
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)
#4
follow-ups:
↓ 5
↓ 6
@
12 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
@
12 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
@
12 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. ;)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 29746: