feat: refactoring of xml parsers

This commit is contained in:
Björn Fromme committed 2025-01-24 17:10:49 +01:00
1 parent 11f1508640
commit 6730c243f6
49 files changed
+1414 -1235

No files matched your search

@@ -2,7 +2,7 @@
namespace App\Tests\BusProNet\DataLoader;
use App\BusProNet\XmlLoader\HotelXmlLoader;
use App\BusProNet\XmlLoader\HotelLoader;
use App\BusProNet\Model\Hotel;
use PHPUnit\Framework\TestCase;
@@ -10,7 +10,7 @@ class HotelDataLoaderTest extends TestCase
{
public function testParse(): void
{
$loader = new HotelXmlLoader(__DIR__.'/../../Resources');
$loader = new HotelLoader(__DIR__.'/../../Resources');
$hotelId = 163113;
$xml = $loader->loadById($hotelId, 'hotels_data.xml');