Refatoring : Working state
This commit is contained in:
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
||||
namespace Tests\Post;
|
||||
|
||||
use App\Post\Post;
|
||||
use App\Post\Infrastructure\TwigPostExtension as PostExtension;
|
||||
use App\Post\Infrastructure\TwigPostExtension;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Twig\TwigFunction;
|
||||
|
||||
@@ -16,7 +16,7 @@ final class PostExtensionTest extends TestCase
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
$extension = new PostExtension();
|
||||
$extension = new TwigPostExtension();
|
||||
$this->functions = [];
|
||||
|
||||
foreach ($extension->getFunctions() as $function) {
|
||||
|
||||
Reference in New Issue
Block a user