Make WordPress Core

Opened 12 months ago

Last modified 4 months ago

#57191 new defect (bug)

test for _delete_option_fresh_site

Reported by: pbearne's profile pbearne Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: Cc:

Description


Change History (3)

This ticket was mentioned in PR #3674 on WordPress/wordpress-develop by @pbearne.


12 months ago
#1

  • Keywords has-patch has-unit-tests added

@desrosj commented on PR #3674:


4 months ago
#2

Looking at this, why do we need to retrieve the option's value prior to checking? Can't we just use '0' instead since that should be the value?

@desrosj commented on PR #3674:


4 months ago
#3

Ah, I see the resolved conversation now. To make sure I understand, the concern is that the value is potentially not '0' when the test method starts, and if there is a failure, it won't be returned to the originally expected value

Note: See TracTickets for help on using tickets.