summaryrefslogtreecommitdiff
path: root/algorithm.rb
diff options
context:
space:
mode:
Diffstat (limited to 'algorithm.rb')
-rw-r--r--algorithm.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/algorithm.rb b/algorithm.rb
index 055f0a2..94f3b5c 100644
--- a/algorithm.rb
+++ b/algorithm.rb
@@ -6,6 +6,7 @@ require "./validate-owl.rb"
class AlgorithmTest < Test::Unit::TestCase
def setup
+ @@subjectid = OpenTox::Authorization.authenticate(TEST_USER,TEST_PW)
@algorithms = [
File.join(CONFIG[:services]["opentox-algorithm"],"fminer","bbrc"),
File.join(CONFIG[:services]["opentox-algorithm"],"fminer","last"),
@@ -20,7 +21,7 @@ class AlgorithmTest < Test::Unit::TestCase
def test_metadata
@algorithms.each do |algorithm|
puts algorithm
- validate_owl(algorithm)
+ validate_owl(algorithm, @@subjectid)
end
end