feat: api endpoints
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Tests\BusProNet\DataLoader;
|
||||
|
||||
use App\BusProNet\DataLoader\PickupDataLoader;
|
||||
use App\BusProNet\XmlLoader\PickupXmlLoader;
|
||||
use App\BusProNet\Model\Pickup;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
@@ -10,7 +10,7 @@ class PickupDataLoaderTest extends TestCase
|
||||
{
|
||||
public function testParse(): void
|
||||
{
|
||||
$loader = new PickupDataLoader();
|
||||
$loader = new PickupXmlLoader();
|
||||
$pickupId = 1;
|
||||
|
||||
$xml = $loader->loadById($pickupId, 'pickups_data.xml');
|
||||
|
||||
Reference in New Issue
Block a user