Skip to content

Commit

Permalink
Adjust session validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Sep 10, 2024
1 parent f3a0947 commit 61ef8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
validator.errors << "Notifier name in body was expected to be 'Bugsnag Go', but was '#{notifier_name}'"
end

['notifier.url', 'notifier.version', 'events'].each do |element_key|
['notifier.url', 'notifier.version', 'app', 'device'].each do |element_key|
element = Maze::Helper.read_key_path(validator.body, element_key)
if element.nil? || (element.is_a?(Array) && element.empty?)
validator.success = false
Expand Down

0 comments on commit 61ef8f3

Please sign in to comment.