Skip to content

Commit 66434e6

Browse files
fix: update unsafe io test to look for closing html tag (#352)
1 parent 8e57847 commit 66434e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

temporalio/test/worker_workflow_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2391,11 +2391,11 @@ def test_unsafe_io
23912391

23922392
# Allowed when enabled narrowly inside workflow
23932393
res = execute_workflow(UnsafeIOWorkflow, true)
2394-
assert_includes res, '<html>'
2394+
assert_includes res, '</html>'
23952395

23962396
# Allowed when enabled at worker level
23972397
res = execute_workflow(UnsafeIOWorkflow, false, unsafe_workflow_io_enabled: true)
2398-
assert_includes res, '<html>'
2398+
assert_includes res, '</html>'
23992399
end
24002400

24012401
class MissingLocalActivityWorkflow < Temporalio::Workflow::Definition

0 commit comments

Comments
 (0)