env and vendor added temporary

This commit is contained in:
2025-04-09 16:39:53 +02:00
parent 35e90c283e
commit 43b1cb2202
10304 changed files with 1205060 additions and 254 deletions
@@ -0,0 +1,20 @@
<?php
namespace Vanguard\Announcements\Tests\Unit;
use Tests\TestCase;
use Vanguard\Announcements\Announcement;
class AnnouncementTest extends TestCase
{
/** @test */
public function testParsedBody()
{
$announcement = new Announcement([
'title' => 'foo',
'body' => '# test',
]);
$this->assertEquals("<h1>test</h1>\n", (string) $announcement->parsed_body);
}
}