first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
class CallToGamificationServerTest extends TestCase
|
||||
{
|
||||
public function testContentIsGzipped()
|
||||
{
|
||||
$workingCallUrl = 'https://gamification.prestashop.com/json/data_EN_IDR_ID.json';
|
||||
|
||||
$response = GamificationTools::retrieveJsonApiFile($workingCallUrl, true);
|
||||
$this->assertContains('content-encoding: gzip', $response);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user