Ichaber\SSSwiftype\Tests\Service\SwiftypeCrawlerTest
Class SwiftypeCrawlerTest
Synopsis
class SwiftypeCrawlerTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'SwiftypeCrawlerTest.yml';
- protected static array $required_extensions = ;
- // methods
- public void testCrawlSuccess()
- public void testCrawlFailResponseCode()
- public void testCrawlFailResponseData()
- public void testCrawlError()
Hierarchy
Extends
- SilverStripe\Dev\SapphireTest
Members
protected
- $fixture_file — string
- $required_extensions — array
Methods
public
- testCrawlError() — Test that a crawl will fail
- testCrawlFailResponseCode() — Test that a crawl will fail on invalid response code
- testCrawlFailResponseData() — Test that a crawl will fail in invalid response data
- testCrawlSuccess() — Test that a crawl will succeed