feat: upgrade project to symfony 7.4
This commit is contained in:
@@ -4,9 +4,9 @@ declare(strict_types=1);
|
||||
|
||||
namespace App\Tests\BusProNet\XmlParser;
|
||||
|
||||
use App\BusProNet\XmlCrawlerFactory;
|
||||
use App\BusProNet\XmlParser\PersonalDataParser;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
use Symfony\Component\DomCrawler\Crawler;
|
||||
|
||||
class PersonalDataParserTest extends TestCase
|
||||
{
|
||||
@@ -46,7 +46,7 @@ class PersonalDataParserTest extends TestCase
|
||||
|
||||
private function parse(string $xml): \App\BusProNet\Model\PersonalData
|
||||
{
|
||||
return $this->parser->parse(new Crawler($xml));
|
||||
return $this->parser->parse(XmlCrawlerFactory::create($xml));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user