mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-24 15:27:23 +00:00
26 lines
642 B
PHP
26 lines
642 B
PHP
<?php
|
|
class DauphineLibereBridgeTest extends BridgeTest {
|
|
public $bridgeName = 'DauphineLibereBridge';
|
|
|
|
function loadParameters(){
|
|
return array(
|
|
array(),
|
|
array('u' => 'sport')
|
|
);
|
|
}
|
|
|
|
// Test without parameters
|
|
public function testCategoryNone() {
|
|
$this->defaultTest($this->bridgeDatas
|
|
, [BridgeTest::TEST_TITLE, BridgeTest::TEST_CONTENT, BridgeTest::TEST_URI, BridgeTest::TEST_TIMESTAMP]
|
|
, 1);
|
|
}
|
|
|
|
// Test for u=sport
|
|
public function testCategorySport() {
|
|
$this->defaultTest($this->bridgeDatas
|
|
, [BridgeTest::TEST_TITLE, BridgeTest::TEST_CONTENT, BridgeTest::TEST_URI, BridgeTest::TEST_TIMESTAMP]
|
|
, 1);
|
|
}
|
|
}
|
|
?>
|