Files
YNWA Fawzy 11e157608a Features:
- FlipKart Store added
- Myntra Store Added

Enhance:
- switch Ebay to chrome crawling
- add response to html

Fixes:
- Amazon Germany not picking the price.
- Fix wrong amazon product name when it contains ':'
- Fix wrong variable for Ebay Exceptions

Took 3 hours 59 minutes
2024-10-24 16:19:34 +04:00

30 lines
606 B
PHP

<?php
namespace Tests\Feature;
use App\Helpers\URLHelper;
use Database\Seeders\StoreSeeder;
use Illuminate\Foundation\Testing\RefreshDatabase;
use Tests\TestCase;
class AmazonFeatureTest extends TestCase
{
use RefreshDatabase;
/**
* A basic feature test example.
*/
public function test_key_parsed_correctly_for_amazon_ae():void{
$this->seed([StoreSeeder::class]);
$url="https://www.amazon.ae/Apple-iPhone-Pro-Max-256/dp/B0DGJKQ3KW";
$url_helper=new URLHelper($url);
self::assertEquals("B0DGJKQ3KW", $url_helper->product_unique_key);
}
}