TestServiceAppNet.php
| 1 | <?php |
| 2 | /** |
| 3 | * TestServiceAppNet.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 TestServiceAppNet extends TestProviders |
| 16 | { |
| 17 | protected $urls = array( |
| 18 | 'valid' => array( |
| 19 | 'https://alpha.app.net/lesechos/post/9152136', |
| 20 | 'http://alpha.app.net/popsugar/post/9145139', |
| 21 | //'https://alpha.app.net/breakingnews/post/9141658/', |
| 22 | //'https://photos.app.net/8244279/1', |
| 23 | ), |
| 24 | 'invalid' => array( |
| 25 | 'https://unknown.app.net/breakingnews/post/9141658/', |
| 26 | 'https://aplpha.app.net/breakingnews/post/string/', |
| 27 | 'https://aplpha.app.net/post/9141658/', |
| 28 | 'https://aplpha.app.net/breakingnews/9141658/', |
| 29 | 'https://aplpha.app.net', |
| 30 | ), |
| 31 | ); |
| 32 | |
| 33 | public function testProvider() { $this->validateProvider('AppNet'); } |
| 34 | } |
| 35 | ?> |
| 36 |