PHP Class Elgg\Mocks\Database\RelationshipsTable
It populates the mock database with query specifications for predictable results
when relationship are requested or deleted.
Note that this mock is not designed for testing the relationships table itself.
When testing the relationships table, you should define query specs individually for the
method being tested.
Afficher le fichier
Open project: elgg/elgg
Méthodes publiques
Свойство |
Type |
Description |
|
$rows |
stdClas\stdClass[] |
|
|
Méthodes publiques
Method Details
public add ( $guid_one, $relationship, $guid_two, $return_id = false ) |
addQuerySpecs()
public méthode
Add query specs for a relationship data row
clearQuerySpecs()
public méthode
Property Details
public stdClass[],stdClas $rows |
Résultat |
stdClas\stdClass[] |
|