Skip to content

Commit

Permalink
removed test harness commited in error
Browse files Browse the repository at this point in the history
  • Loading branch information
jambun committed Jun 29, 2022
1 parent 2f2c6da commit d95fc95
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/model/reftracker_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ class RefTrackerClient


def self.get_question(question_no)
# resp = ASUtils.json_parse(self.get('getQuestion', {:parameters => {:key => 'question_no', :value => question_no, :format => 'json'}.to_json}))

resp = ASUtils.json_parse(File.read(File.join(File.dirname(__FILE__), '..', '..', 'samples', 'question.json')))
resp = ASUtils.json_parse(self.get('getQuestion', {:parameters => {:key => 'question_no', :value => question_no, :format => 'json'}.to_json}))

# if the question doesn't exist it returns this:
# [{"result":"No Question for these parameters format:json key:question_no value:blah","status":"200"}]
Expand Down

0 comments on commit d95fc95

Please sign in to comment.