TestServiceLearningApps.php
| 1 | <?php |
| 2 | /** |
| 3 | * TestServiceLearningApps.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 TestServiceLearningApps extends TestProviders |
| 16 | { |
| 17 | protected $urls = array( |
| 18 | 'valid' => array( |
| 19 | 'http://learningapps.org/1453543', |
| 20 | 'http://learningapps.org/58598/', |
| 21 | 'http://learningapps.org/1156943?query=string', |
| 22 | ), |
| 23 | 'invalid' => array( |
| 24 | 'http://learningapps.org/index.php?overview&s=&category=0&tool=', |
| 25 | 'http://learningapps.org/index.php', |
| 26 | 'http://learningapps.org/', |
| 27 | 'http://learningapps.org/58598/other-stuff', |
| 28 | 'http://learningapps.org/index.php?category=14&s=', |
| 29 | ), |
| 30 | ); |
| 31 | |
| 32 | public function testProvider() { $this->validateProvider('LearningApps'); } |
| 33 | } |
| 34 | ?> |
| 35 |