Skip to content

Commit

Permalink
return a payload and not just a status code in the acceptance test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed May 23, 2024
1 parent b09ebc1 commit 4555b4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/acceptance/github-server/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ def graphql_pending_query(query)
File.open(TEAM_MAP_FILE, "w") do |f|
f.write(JSON.pretty_generate(tmp_map))
end
halt 201

[201, { "Content-Type" => "application/json" }, [JSON.generate(teamdata)]]
end

send :get, "/orgs/:org_name/teams/:team_name" do
Expand Down

0 comments on commit 4555b4b

Please sign in to comment.