Skip to content

Commit bcc519f

Browse files
committed
test: refactor tests for current release
1 parent 5d26c82 commit bcc519f

File tree

5 files changed

+41
-925
lines changed

5 files changed

+41
-925
lines changed

test/integration/test_assistant_v1.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ class AssistantV1Test < Minitest::Test
1111
include Minitest::Hooks
1212
attr_accessor :service
1313
def before_all
14-
authenticator = IBMWatson::Authenticators::IamAuthenticator.new(
15-
apikey: ENV["ASSISTANT_APIKEY"],
16-
version: "2018-02-16"
17-
)
14+
puts "before"
15+
authenticator = IBMWatson::Authenticators::ConfigBasedAuthenticatorFactory.new.get_authenticator(service_name: "assistant")
1816
@service = IBMWatson::AssistantV1.new(
1917
version: "2018-02-16",
2018
url: ENV["ASSISTANT_URL"],

0 commit comments

Comments
 (0)