mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-08 01:26:31 +02:00
test: add failing mastodon test (#3255)
* fix: refactor cache factory * test: add failing test * add null cache
This commit is contained in:
17
tests/Bridges/MastodonBridgeTest.php
Normal file
17
tests/Bridges/MastodonBridgeTest.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace RssBridge\Tests\Bridges;
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class MastodonBridgeTest extends TestCase
|
||||
{
|
||||
public function test()
|
||||
{
|
||||
\Configuration::loadConfiguration(['cache' => ['type' => 'null']]);
|
||||
$b = new \MastodonBridge();
|
||||
// https://bird.makeup/users/asmongold/remote_follow
|
||||
$b->setDatas(['canusername' => '@asmongold@bird.makeup']);
|
||||
$b->collectData();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user