mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-03-14 20:21:14 +03:00
test: exclude Pixiv for a particular test
This commit is contained in:
parent
bc773a49f8
commit
641e2eedf5
1 changed files with 5 additions and 1 deletions
|
@ -67,7 +67,11 @@ class BridgeImplementationTest extends TestCase {
|
|||
foreach($this->obj::PARAMETERS as $context => $params) {
|
||||
if ($multiContexts) {
|
||||
$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)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue