Your IP : 216.73.217.64


Current Path : /home3/gp97/tailif.97gp.net/modules/gamification/tests/functional/
Upload File :
Current File : //home3/gp97/tailif.97gp.net/modules/gamification/tests/functional/CallToGamificationServerTest.php

<?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);
        self::assertContains('Content-Encoding: gzip', $response);
    }
}