Skip to content

Commit

Permalink
test: add get_problem_id_with_ccx test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Feb 20, 2024
1 parent 8d6b3f5 commit cd55c21
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/get_problem_id_with_ccx.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
select
'http://local.edly.io:8000/xblock/ccx-block-v1:edunext+demo+demo+ccx@1+type@problem+block@3c1646f7133a4c5fb4557d649e22c251' as object_id
from
system.one
where
{{ get_problem_id('object_id') }} != 'ccx-block-v1:edunext+demo+demo+ccx@1+type@problem+block@3c1646f7133a4c5fb4557d649e22c251'

0 comments on commit cd55c21

Please sign in to comment.