summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorpurplecode <niespammnie@gmail.com>2014-12-24 12:42:42 +0100
committerpurplecode <niespammnie@gmail.com>2014-12-24 12:42:42 +0100
commitfd0f39cb224de007e6135c9e08cc9429c7b5a9dc (patch)
tree5be12b850255ccd8a61571e0e83c6bc6c5d2c8d9 /test
parent5b74984770c4228808138231c9580d22f7282475 (diff)
downloadphp.curl-fd0f39cb224de007e6135c9e08cc9429c7b5a9dc.zip
php.curl-fd0f39cb224de007e6135c9e08cc9429c7b5a9dc.tar.gz
php.curl-fd0f39cb224de007e6135c9e08cc9429c7b5a9dc.tar.bz2
tests repackage
Diffstat (limited to 'test')
-rw-r--r--test/Json/PJsonCurlTest.php (renamed from test/PJsonCurlTest.php)12
-rw-r--r--test/Json/test.json (renamed from test/test.json)0
-rw-r--r--test/Json/testInvalid.json (renamed from test/testInvalid.json)0
3 files changed, 4 insertions, 8 deletions
diff --git a/test/PJsonCurlTest.php b/test/Json/PJsonCurlTest.php
index 5699227..707fa10 100644
--- a/test/PJsonCurlTest.php
+++ b/test/Json/PJsonCurlTest.php
@@ -1,18 +1,14 @@
<?php
-require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/PCurlResponse.php');
-require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/Json/PJsonCurlResponse.php');
-require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/PCurl.php');
-require_once (dirname(__FILE__) . '/../src/PurpleCode/PCurl/Json/PJsonCurl.php');
+require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/PCurlResponse.php');
+require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/Json/PJsonCurlResponse.php');
+require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/PCurl.php');
+require_once (dirname(__FILE__) . '/../../src/PurpleCode/PCurl/Json/PJsonCurl.php');
use PurpleCode\PCurl\Json\PJsonCurl;
class PJsonCurlTest extends PHPUnit_Framework_TestCase {
- private function getCACertBundlePath() {
- return __DIR__ . '\ca-cert.crt';
- }
-
public function testShouldGetJsonFileAndParse() {
// given
$cut = new PJsonCurl('file:///' . __DIR__ . '/test.json');
diff --git a/test/test.json b/test/Json/test.json
index bb4ed6f..bb4ed6f 100644
--- a/test/test.json
+++ b/test/Json/test.json
diff --git a/test/testInvalid.json b/test/Json/testInvalid.json
index 1a5125f..1a5125f 100644
--- a/test/testInvalid.json
+++ b/test/Json/testInvalid.json