VuFind API Documentation

PurgeCachedRecordCommandTest extends TestCase
in package

PurgeCachedRecordCommand test.

Tags
category

VuFind

author

Demian Katz demian.katz@villanova.edu

author

Ere Maijala ere.maijala@helsinki.fi

license

http://opensource.org/licenses/gpl-2.0.php GNU General Public License

link

Wiki

Table of Contents

basicOperationProvider()  : array<string|int, mixed>
Data provider for testBasicOperation
testBasicOperation()  : void
Test that the purge cached record action is delegated properly.

Methods

basicOperationProvider()

Data provider for testBasicOperation

public static basicOperationProvider() : array<string|int, mixed>
Return values
array<string|int, mixed>

testBasicOperation()

Test that the purge cached record action is delegated properly.

public testBasicOperation(string $source, string $id, bool $purgeResource, bool $recordRetVal, bool|null $resourceRetVal) : void
Parameters
$source : string

Source ID

$id : string

Record ID

$purgeResource : bool

Whether to purge the resource as well

$recordRetVal : bool

What the record delete method is expected to return

$resourceRetVal : bool|null

What, if anything the resource delete method is expected to return

Tags
dataProvider

basicOperationProvider

Return values
void

Search results