Skip to content

Commit dc85228

Browse files
committed
test: make sure discovery v2 unit tests have correct endpoint
1 parent 5560cce commit dc85228

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/unit/test_discovery_v2.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def before_all
1515
authenticator = IBMWatson::Authenticators::NoAuthAuthenticator.new
1616
@service = IBMWatson::DiscoveryV2.new(
1717
version: "2018-03-05",
18-
authenticator: authenticator
18+
authenticator: authenticator,
19+
service_url: "https://gateway.watsonplatform.net/discovery/api"
1920
)
2021
end
2122

0 commit comments

Comments
 (0)