TestServicePastery.php
| 1 | <?php |
| 2 | /** |
| 3 | * TestServicePastery.php |
| 4 | * |
| 5 | * @package Tests |
| 6 | * @author Michael Pratt <pratt@hablarmierda.net> |
| 7 | * @link http://www.michael-pratt.com/ |
| 8 | * |
| 9 | * For the full copyright and license information, please view the LICENSE |
| 10 | * file that was distributed with this source code. |
| 11 | */ |
| 12 | |
| 13 | require_once 'TestProviders.php'; |
| 14 | |
| 15 | class TestServicePastery extends TestProviders |
| 16 | { |
| 17 | protected $urls = array( |
| 18 | 'valid' => array( |
| 19 | 'https://www.pastery.net/api/', |
| 20 | 'https://www.pastery.net/about/' |
| 21 | ), |
| 22 | 'invalid' => array( |
| 23 | 'https://www.pastery.net/', |
| 24 | 'https://www.pastery.net/about/other-stuff', |
| 25 | ), |
| 26 | ); |
| 27 | |
| 28 | /** |
| 29 | * @large |
| 30 | */ |
| 31 | public function testProvider() { $this->validateProvider('Pastery'); } |
| 32 | } |
| 33 | ?> |
| 34 |