8000 cpp aql current_user() v2 by baslr · Pull Request #3154 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

cpp aql current_user() v2 #3154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
aql current_user test
  • Loading branch information
baslr authored Aug 28, 2017
commit 9fe3efefa689e94f1097f1dffdd288dcce5cce65
4 changes: 2 additions & 2 deletions js/server/tests/aql/aql-functions-misc.js
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ function ahuacatlMiscFunctionsTestSuite () {
}
}

var actual = getQueryResults("RETURN CURRENT_USER()");
// there is no current user in the non-request context
assertEqual([ expected ], actual);
assertEqual([ expected ], getQueryResults("RETURN NOOPT(CURRENT_USER())"));
assertEqual([ expected ], getQueryResults("RETURN NOOPT(V8(CURRENT_USER()))"));
},

////////////////////////////////////////////////////////////////////////////////
Expand Down
0