mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 14:47:35 +02:00
test: exclude Pixiv for a particular test
This commit is contained in:
@@ -67,7 +67,11 @@ class BridgeImplementationTest extends TestCase {
|
|||||||
foreach($this->obj::PARAMETERS as $context => $params) {
|
foreach($this->obj::PARAMETERS as $context => $params) {
|
||||||
if ($multiContexts) {
|
if ($multiContexts) {
|
||||||
$this->assertIsString($context, 'invalid context name');
|
$this->assertIsString($context, 'invalid context name');
|
||||||
$this->assertNotEmpty($context, 'empty context name');
|
|
||||||
|
// Pixiv has a context that is the empty string, for BC.
|
||||||
|
if (! ($this->obj instanceof PixivBridge)) {
|
||||||
|
$this->assertNotEmpty($context, 'The context name cannot be empty');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($params)) {
|
if (empty($params)) {
|
||||||
|
Reference in New Issue
Block a user