From 7142d8a3e13a7bfa54cec04e0d30fb4d8ebbe070 Mon Sep 17 00:00:00 2001 From: Dave Longley Date: Sat, 14 Sep 2013 22:02:37 -0400 Subject: [PATCH] Fix typos. --- jsonld.php | 6 +++--- test.php | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/jsonld.php b/jsonld.php index 31b00a7..7a97b3d 100644 --- a/jsonld.php +++ b/jsonld.php @@ -855,7 +855,7 @@ class JsonLdProcessor { 'jsonld.NullRemoteDocument'); } if(is_string($remote_doc->document)) { - $remote_doc->document = _parse_json($remote_doc->document); + $remote_doc->document = self::_parse_json($remote_doc->document); } } catch(Exception $e) { @@ -1017,7 +1017,7 @@ class JsonLdProcessor { 'jsonld.NullRemoteDocument'); } if(is_string($remote_frame->document)) { - $remote_frame->document = _parse_json($remote_frame->document); + $remote_frame->document = self::_parse_json($remote_frame->document); } } catch(Exception $e) { @@ -5100,7 +5100,7 @@ class JsonLdProcessor { // parse string context as JSON if(is_string($ctx)) { try { - $ctx = _parse_json($ctx); + $ctx = self::_parse_json($ctx); } catch(Exception $e) { throw new JsonLdException( diff --git a/test.php b/test.php index 215ff50..a88c82d 100644 --- a/test.php +++ b/test.php @@ -132,14 +132,13 @@ class JsonLdTestCase extends PHPUnit_Framework_TestCase { * @param JsonLdTest $test the test to run. * * @group normalize - * @depends toRdf * @dataProvider normalizeProvider */ public function testNormalize($test) { $this->test = $test; $input = $test->readUrl('input'); $options = $test->createOptions(array('format' => 'application/nquads')); - $test->run('jsonld_compact', array($input, $options)); + $test->run('jsonld_normalize', array($input, $options)); } public function expandProvider() {