Skip to content

Commit

Permalink
添加callback header
Browse files Browse the repository at this point in the history
  • Loading branch information
hellozepp committed Aug 8, 2022
1 parent 1a13b04 commit dad8bba
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class ByzerScriptTestSuite extends LocalBaseTestSuite with Logging {
val (_, result) = runScriptWithHeader(url, user, "select 1 as a,'jack' as b as bbc;",
"""{"Authorization":"Bearer acc"}""")
val _result = EntityUtils.toString(result, DefaultHttpTransportService.charset)
println(_result)
println("With callbackHeader result:" + _result)
assert(_result === "[{\"a\":1,\"b\":\"jack\"}]")
} catch {
case _: Exception =>
Expand Down

0 comments on commit dad8bba

Please sign in to comment.