feat: api endpoints
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Tests\BusProNet\DataLoader;
|
||||
|
||||
use App\BusProNet\DataLoader\HotelDataLoader;
|
||||
use App\BusProNet\XmlLoader\HotelXmlLoader;
|
||||
use App\BusProNet\Model\Hotel;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
@@ -10,7 +10,7 @@ class HotelDataLoaderTest extends TestCase
|
||||
{
|
||||
public function testParse(): void
|
||||
{
|
||||
$loader = new HotelDataLoader(__DIR__.'/../../Resources');
|
||||
$loader = new HotelXmlLoader(__DIR__.'/../../Resources');
|
||||
$hotelId = 163113;
|
||||
|
||||
$xml = $loader->loadById($hotelId, 'hotels_data.xml');
|
||||
|
||||
Reference in New Issue
Block a user