rss-bridge/tests/Bridges/MastodonBridgeTest.php
Dag c27a300e02
test: add failing mastodon test (#3255)
* fix: refactor cache factory

* test: add failing test

* add null cache
2023-02-15 21:22:37 +01:00

18 lines
428 B
PHP

<?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();
}
}