fix: use same terminology

This commit is contained in:
2024-01-18 22:08:07 +01:00
parent 0efd5343e3
commit a31b283847
8 changed files with 16 additions and 16 deletions

View File

@@ -3,7 +3,7 @@ declare(strict_types=1);
namespace App\Tests\Controller;
use App\Service\QRCodeGeneratorInterface;
use App\Service\QRCodeProviderInterface;
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
@@ -76,7 +76,7 @@ class IndexControllerTest extends WebTestCase
private function generateClientForSubmitTest(): KernelBrowser
{
$mock = $this->createMock(QRCodeGeneratorInterface::class);
$mock = $this->createMock(QRCodeProviderInterface::class);
$mock->expects($this->any())
->method('generateQRCodeFromEntity')
->will($this->returnValue('foo'));
@@ -85,7 +85,7 @@ class IndexControllerTest extends WebTestCase
$client = static::createClient();
$client->disableReboot();
self::getContainer()->set('App\Service\QRCodeGeneratorInterface', $mock);
self::getContainer()->set('App\Service\QRCodeProviderInterface', $mock);
return $client;
}