diff options
author | mguetlein <martin.guetlein@gmail.com> | 2012-01-05 14:21:54 +0100 |
---|---|---|
committer | mguetlein <martin.guetlein@gmail.com> | 2012-01-05 14:21:54 +0100 |
commit | 3245c5813517f6e6754b3263dbe816f66279727f (patch) | |
tree | 1c5c6d2c42f4ea69586215f9061ea673f7f969fc | |
parent | 3001832049c588dc859fb5b8671d97eb0276e650 (diff) |
fix validation-comparison-test with aa
-rw-r--r-- | validation.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/validation.rb b/validation.rb index 83f8bfe..919a562 100644 --- a/validation.rb +++ b/validation.rb @@ -341,7 +341,7 @@ class ValidationTest < Test::Unit::TestCase @@cv_identifiers[j] => [@@cvs[j].uri] } if AA_SERVER assert_rest_call_error OpenTox::NotAuthorizedError do - OpenTox::AlgorithmComparisonReport.create hash,@@subjectid + OpenTox::AlgorithmComparisonReport.create hash,{} end end assert OpenTox::AlgorithmComparisonReport.find_for_crossvalidation(@@cvs[i].uri,@@subjectid)==nil @@ -427,7 +427,8 @@ class ValidationTest < Test::Unit::TestCase yield assert false,"no rest-call error thrown" rescue OpenTox::RestCallError => e - raise "error Report of RestCallError is no errorReport: "+e.errorCause.class.to_s+":\n"+e.errorCause.to_yaml unless e.errorCause.is_a?(OpenTox::ErrorReport) + raise "error Report of RestCallError is no errorReport: "+ + e.errorCause.class.to_s+":\n"+e.errorCause.to_yaml unless e.errorCause.is_a?(OpenTox::ErrorReport) report = e.errorCause while report.errorCause report = report.errorCause |