TestServiceChartblocks.php
| 1 | <?php |
| 2 | /** |
| 3 | * TestServiceChatblocks.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 TestServiceChatblocks extends TestProviders |
| 16 | { |
| 17 | protected $urls = array( |
| 18 | 'valid' => array( |
| 19 | 'http://public.chartblocks.com/c/54271427c9a61d8e0c8b4567/', |
| 20 | 'http://public.chartblocks.com/c/54276401c9a61d9b168b4567/', |
| 21 | 'http://public.chartblocks.com/c/542711b8c9a61d110c8b4567', |
| 22 | 'http://public.chartblocks.com/c/54286c66c9a61d252ed5c969/', |
| 23 | 'http://public.chartblocks.com/c/54267c1ec9a61d5a7d8b4567/', |
| 24 | 'http://public.chartblocks.com/c/54290b36c9a61de63ad5c969', |
| 25 | 'http://public.chartblocks.com/c/54268e52c9a61dcd7e8b4567', |
| 26 | ), |
| 27 | 'invalid' => array( |
| 28 | 'http://public.chartblocks.com/', |
| 29 | 'http://public.chartblocks.com/latest/', |
| 30 | 'http://www.chartblocks.com/en/', |
| 31 | ), |
| 32 | 'fake' => array( |
| 33 | 'type' => 'rich', |
| 34 | 'html' => '<iframe' |
| 35 | ) |
| 36 | ); |
| 37 | |
| 38 | public function testProvider() { $this->validateProvider('Chartblocks'); } |
| 39 | } |
| 40 | ?> |
| 41 |