File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -382,7 +382,6 @@ def setUp(self):
382382
383383 self .dummy_location = 'block-v1:course+test+2020+type@problem+block@test'
384384 self .lti_ags_model = LtiAgsLineItem .objects .create (
385- lti_configuration = None ,
386385 resource_id = "test-id" ,
387386 label = "this-is-a-test" ,
388387 resource_link_id = self .dummy_location ,
@@ -419,8 +418,16 @@ def setUp(self):
419418 )
420419
421420 self .dummy_location = 'block-v1:course+test+2020+type@problem+block@test'
421+
422+ self .lti_config = LtiConfiguration .objects .create (
423+ config_id = '6c440bf4-face-beef-face-e8bcfb1e53bd' ,
424+ location = self .dummy_location ,
425+ version = LtiConfiguration .LTI_1P3 ,
426+ config_store = LtiConfiguration .CONFIG_ON_XBLOCK ,
427+ )
428+
422429 self .line_item = LtiAgsLineItem .objects .create (
423- lti_configuration = None ,
430+ lti_configuration = self . lti_config ,
424431 resource_id = "test-id" ,
425432 label = "this-is-a-test" ,
426433 resource_link_id = self .dummy_location ,
You can’t perform that action at this time.
0 commit comments