ElasticsearchArticleFixture

Extends \HttpSourceTestFixture

Main fixture

package

ElasticsearchSourceTest

subpackage

Test.Fixture

Methods

{@inheritdoc}

create(\DboSource $db) : boolean

Arguments

$db

\DboSource

An instance of the database object used to create the fixture table

Response

boolean

True on success, false on failure

{@inheritdoc}

drop(\DboSource $db) : boolean

Arguments

$db

\DboSource

An instance of the database object used to create the fixture table

Response

boolean

True on success, false on failure

{@inheritdoc}

init() : void
throws

Whe importing from a model that does not exist.

Properties

Fixture Datasource

useDbConfig : string
var

Type(s)

string

{@inheritdoc}

model : string
var

Type(s)

string

Records

records : array
var

Type(s)

array