Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#30955 closed defect (bug) (fixed)

tests/phpunit/tests/link/getAdjacentPostLink.php has hardcoded

Reported by: calevans's profile CalEvans Owned by: sergeybiryukov's profile SergeyBiryukov
Milestone: 4.2 Priority: normal
Severity: trivial Version: 4.1
Component: Build/Test Tools Keywords: has-patch
Focuses: Cc:


The test tests/phpunit/tests/link/getAdjacentPostLink.php has the domain hard coded into the tests. If wp-tests-config.php contains a different url, these tests will needlessly fail.

Attachments (1)

getAdjacentPostLink.patch (2.9 KB) - added by CalEvans 10 years ago.
patch for ests/phpunit/tests/link/getAdjacentPostLink.php

Download all attachments as: .zip

Change History (6)

#1 @CalEvans
10 years ago

  • Keywords has-patch added
  • Severity changed from normal to trivial

10 years ago

patch for ests/phpunit/tests/link/getAdjacentPostLink.php

#2 @SergeyBiryukov
10 years ago

  • Component changed from General to Build/Test Tools

#3 @SergeyBiryukov
10 years ago

  • Version changed from trunk to 4.1

Introduced in [30264].

#4 @SergeyBiryukov
10 years ago

  • Milestone changed from Awaiting Review to 4.2

#5 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

In 31097:

Use home_url() instead of hardcoded domain in Tests_Link_GetAdjacentPostLink.

props CalEvans.
fixes #30955.

Note: See TracTickets for help on using tickets.