onOffice WP Plugin

TestClassWPPageWrapper extends WP_UnitTestCase
in package

Tags
preserveGlobalState

disabled

runTestsInSeparateProcesses

Table of Contents

POST_DATA  = ['post_parent' => 0, 'post_title' => 'onOffice Test Post', 'post_content' => 'Hello. This is a test.', 'post_status' => 'publish', 'post_date' => '2019-05-09 13:37:37', 'post_type' => 'page']
$_ancestorId  : int
$_postId  : int
$_pSubject  : WPPageWrapper
prepare()  : mixed
testGetPageByPath()  : mixed
testGetPageByPathUnknown()  : mixed
testGetPageLinkById()  : mixed
testGetPageLinkByPost()  : mixed
testGetPageUriByPageId()  : mixed

Constants

POST_DATA

public array<string|int, mixed> POST_DATA = ['post_parent' => 0, 'post_title' => 'onOffice Test Post', 'post_content' => 'Hello. This is a test.', 'post_status' => 'publish', 'post_date' => '2019-05-09 13:37:37', 'post_type' => 'page']

Properties

Methods

Search results