Skip to content

Commit 9590f82

Browse files
Update test_discovery_v2.rb
add analyzew
1 parent 1f38062 commit 9590f82

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

test/integration/test_discovery_v2.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,18 @@ def test_delete_user_data
246246
)
247247
assert(service_response.nil?)
248248
end
249+
250+
def test_analyze_document
251+
skip "CPD only. Do not run on premium"
252+
analyze_data = File.open(Dir.getwd + "/resources/test_enrichments.csv")
253+
254+
service_response = service.analyze_document(
255+
project_id: @project_id,
256+
collection_id: @collection_id,
257+
file: analyze_data
258+
)
259+
assert(service_response.nil?)
260+
end
249261
end
250262
else
251263
class DiscoveryV2Test < Minitest::Test

0 commit comments

Comments
 (0)