endofday: 17.01.2024

This commit is contained in:
Jan Klattenhoff 2024-01-17 17:17:12 +01:00
commit 9286839d99
18 changed files with 1835 additions and 32 deletions

View file

@ -0,0 +1,18 @@
<?php
namespace App\Tests\Service;
use PHPUnit\Framework\Attributes\Test;
use PrinterService;
use PHPUnit\Framework\TestCase;
use Symfony\Bundle\MakerBundle\Docker\DockerDatabaseServices;
class PrinterServiceTest extends TestCase
{
#[Test]
public function EditPrinterShouldEditPrinter(){
$printerService = new PrinterService();
$printerService->editPrinter(Printer $printer, )
}
}

11
tests/bootstrap.php Normal file
View file

@ -0,0 +1,11 @@
<?php
use Symfony\Component\Dotenv\Dotenv;
require dirname(__DIR__).'/vendor/autoload.php';
if (file_exists(dirname(__DIR__).'/config/bootstrap.php')) {
require dirname(__DIR__).'/config/bootstrap.php';
} elseif (method_exists(Dotenv::class, 'bootEnv')) {
(new Dotenv())->bootEnv(dirname(__DIR__).'/.env');
}