PHP Класс 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.
Показать файл
Открыть проект
Открытые свойства
Свойство |
Тип |
Описание |
|
$rows |
stdClas\stdClass[] |
|
|
Открытые методы
Описание методов
public add ( $guid_one, $relationship, $guid_two, $return_id = false ) |
addQuerySpecs()
публичный метод
Add query specs for a relationship data row
clearQuerySpecs()
публичный метод
Описание свойств
public stdClass[],stdClas $rows |
Результат |
stdClas\stdClass[] |
|