ImageFactoryTest
extends TestCase
in package
Unit tests for Image CAPTCHA handler factory.
Tags
Table of Contents
- factoryDataProvider() : array<string|int, mixed>
- Provide data for testFactory()
- testFactory() : void
- Test that the factory behaves correctly.
Methods
factoryDataProvider()
Provide data for testFactory()
public
static factoryDataProvider() : array<string|int, mixed>
Return values
array<string|int, mixed> —testFactory()
Test that the factory behaves correctly.
public
testFactory([string $homeUrl = null ][, string $expectedCache = '/cache/' ]) : void
Parameters
- $homeUrl : string = null
-
Home URL (returned by url helper)
- $expectedCache : string = '/cache/'
-
Expected cache path