Method | Description | |
---|---|---|
getAdapter ( ) : Imbo\Database\DatabaseInterface | Get the adapter we want to test | |
getImage ( ) : |
Fetch an image model |
Method | Description | |
---|---|---|
insertImages ( boolean $alternateUser = false ) : array | Insert some images to test the query functionality |
abstract protected getAdapter ( ) : Imbo\Database\DatabaseInterface | ||
return | Imbo\Database\DatabaseInterface |
protected getImage ( ) : |
||
return |
public getShortUrlVariations ( ) : array[] | ||
return | array[] |
public testCanGetShortUrlIdThatDoesNotExist ( ) |
public testCanInsertAndGetParametersForAShortUrl ( $shortUrlId, array $query = [], $extension = null ) | ||
$query | array |
public testCanSortImages ( array $sort = null, $field, array $values ) | ||
$sort | array | |
$values | array |
public testDeleteMetataFromImageThatDoesNotExist ( ) |
public testGetImagesWithPageAndLimit ( $page = null, $limit = null, array $imageIdentifiers ) | ||
$imageIdentifiers | array |
public testGetImagesWithStartAndEndTimestamps ( ) |
public testGetLastModifiedOfImageThatDoesNotExist ( ) |
public testGetLastModifiedWhenUserHasNoImages ( ) |
public testGetMetadataWhenImageDoesNotExist ( ) |
public testGetMimeTypeWhenImageDoesNotExist ( ) |