Files
oficial/app/tests/extension/AbstractIntegration.php

16 lines
341 B
PHP
Raw Normal View History

2025-04-29 22:25:32 -04:00
<?php
2025-05-08 11:13:17 -04:00
namespace Tests\Extension;
2025-04-29 22:25:32 -04:00
use GuzzleHttp\Client;
use PHPUnit\Framework\TestCase;
2025-04-29 23:55:51 -04:00
use Psr\Http\Client\ClientInterface;
2025-04-29 22:25:32 -04:00
abstract class AbstractIntegration extends TestCase
{
protected ClientInterface $client;
protected function setUp(): void
{
$this->client = new Client(['base_uri' => $_ENV['APP_URL']]);
}
2025-05-08 11:13:17 -04:00
}