Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.
PHP ai-agentsblueskyfacebookinstagramlaravellinkedinmastodonmcpmcp-serveropen-sourcerest-apiself-hostedsocial-mediasocial-media-managementsocial-media-schedulerthreadstiktokvuejsxyoutube
Add return type to telegram exception test helper
Paulo Castellano816d367dbe83
diff --git a/tests/Unit/Exceptions/Social/TelegramPublishExceptionTest.php b/tests/Unit/Exceptions/Social/TelegramPublishExceptionTest.phpindex 1e577d7d4..3be8f1d87 100644--- a/tests/Unit/Exceptions/Social/TelegramPublishExceptionTest.php+++ b/tests/Unit/Exceptions/Social/TelegramPublishExceptionTest.php@@ -4,9 +4,10 @@ declare(strict_types=1);use App\Exceptions\Social\ErrorCategory;use App\Exceptions\Social\TelegramPublishException;+use Illuminate\Http\Client\Response;use Illuminate\Support\Facades\Http;-function telegramErrorResponse(array $body, int $status)+function telegramErrorResponse(array $body, int $status): Response{return Http::fake(['*' => Http::response($body, $status)])->post('https://api.telegram.org/botX/sendMessage');}