Skip to content
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

chore: move utc ts tests to compliance #909

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft
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
use lowercase function in tests
johannes-vogel committed Nov 21, 2024
commit bb41808f58400d46d5bdb246946acd29b6554009
8 changes: 4 additions & 4 deletions hana/test/hana-functions.test.js
Original file line number Diff line number Diff line change
@@ -8,10 +8,10 @@ describe('HANA custom functions', () => {
one: true,
from: {ref: ['DUMMY']},
columns: [
{func: 'CURRENT_UTCTIMESTAMP', as: 'no_args'},
{func: 'CURRENT_UTCTIMESTAMP', args: [{val: 0}], as: 'prec0'},
{func: 'CURRENT_UTCTIMESTAMP', args: [{val: 3}], as: 'prec3'},
{func: 'CURRENT_UTCTIMESTAMP', args: [{val: 7}], as: 'prec7'}]
{func: 'current_utctimestamp', as: 'no_args'},
{func: 'current_utctimestamp', args: [{val: 0}], as: 'prec0'},
{func: 'current_utctimestamp', args: [{val: 3}], as: 'prec3'},
{func: 'current_utctimestamp', args: [{val: 7}], as: 'prec7'}]
}}

const res = await cds.run(cqn)