Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#23928 closed defect (bug) (fixed)

Update ajax autosave unit tests for 3.6

Reported by: kurtpayne's profile kurtpayne Owned by:
Milestone: 3.6 Priority: normal
Severity: normal Version: 3.6
Component: Unit Tests Keywords:
Focuses: Cc:

Description (last modified by ocean90)

The ajax autosave unit test is failing with trunk.

Update it to be compatible with the following core changes:

  • Move nopriv_autosave to nopriv_heartbeat [23692]
  • Remove use of $login_grace_period [23699]
  • Send post_type with autosave [16657] (this was incorrect in the original unit test, I'm not sure why it's just now breaking)
  • Change $_POST['post_ID'] to $_POST['post_id'] [23683]

Change History (3)

#1 @kurtpayne
12 years ago

In 1253/tests:

Update ajax autosave unit tests for 3.6

See #23928

#2 @ocean90
12 years ago

  • Description modified (diff)

#3 @ocean90
12 years ago

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

Seems like fixed.

Note: See TracTickets for help on using tickets.