Subject: | test failure due to change in sparql resource location |
Hi,
t/01basic.t fails miserably, which turns out to be due to a change in
the url of the sparql service:
perl -w t/01basic.t
1..5
ok 1 - use RDF::Query::Client;
Name "RDF::Query::Client::AUTHORITIES" used only once: possible typo at
/usr/share/perl5/authority/shared.pm line 23.
Name "_p_librdf_world_s::OWNER" used only once: possible typo at
/usr/share/perl5/RDF/Redland.pm line 49.
Can't call method "is_boolean" on an undefined value at t/01basic.t line
32.
# Looks like you planned 5 tests but ran 1.
# Looks like your test exited with 255 just after 1.
This is trivially fixed by the attached patch.
Florian
Subject: | changed_sparql_uri.patch |
Description: fix test failure due to changed sparql.org resource name
Author: Florian Schlichting <fschlich@zedat.fu-berlin.de>
--- a/t/01basic.t
+++ b/t/01basic.t
@@ -25,9 +25,9 @@
my $q_select = new RDF::Query::Client($sparql_select);
my $q_construct = new RDF::Query::Client($sparql_construct);
- my $r_ask = $q_ask->execute('http://sparql.org/books');
- my $r_select = $q_select->execute('http://sparql.org/books');
- my $r_construct = $q_construct->execute('http://sparql.org/books');
+ my $r_ask = $q_ask->execute('http://sparql.org/books/sparql');
+ my $r_select = $q_select->execute('http://sparql.org/books/sparql');
+ my $r_construct = $q_construct->execute('http://sparql.org/books/sparql');
ok($r_ask->is_boolean, "ASK results in a boolean");
ok($r_select->is_bindings, "SELECT results in bindings");
@@ -36,4 +36,4 @@
ok($r_ask->get_boolean, "ASK results as expected");
diag("You can safely ignore warnings from DBD about tables being locked.\n");
-}
\ No newline at end of file
+}