Initial commit: CloudOps infrastructure platform

This commit is contained in:
root
2026-04-09 19:58:57 +02:00
commit 1166a52f26
7762 changed files with 839452 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace Mautic\PluginBundle\Tests\Exception;
use Mautic\PluginBundle\Exception\ApiErrorException;
class ApiErrorExceptionTest extends \PHPUnit\Framework\TestCase
{
public function testShortMessage(): void
{
$apiErrorException = new ApiErrorException('Main Error message.');
$this->assertEmpty($apiErrorException->getShortMessage());
$shortMessage = 'This is short message';
$apiErrorException->setShortMessage($shortMessage);
$this->assertSame($shortMessage, $apiErrorException->getShortMessage());
}
}