1 | <?php |
||
24 | abstract class AbstractCURLRequestTest extends PHPUnit_Framework_TestCase { |
||
25 | |||
26 | /** |
||
27 | * Resource path. |
||
28 | */ |
||
29 | const RESOURCE_PATH = "/testCall.php"; |
||
30 | |||
31 | /** |
||
32 | * CURL configuration. |
||
33 | * |
||
34 | * @var CURLConfiguration |
||
35 | */ |
||
36 | protected $configuration; |
||
37 | |||
38 | /** |
||
39 | * {@inheritdoc} |
||
40 | */ |
||
41 | protected function setUp() { |
||
42 | |||
43 | // |
||
44 | parent::setUp(); |
||
45 | |||
46 | // Set the CURL configuration. |
||
47 | $this->configuration = new CURLConfiguration(); |
||
48 | $this->configuration->setHost("https://webeweb.fr/"); |
||
49 | } |
||
50 | |||
51 | } |
||
52 |