File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -412,7 +412,6 @@ def setUp(self):
412412
413413 self .dummy_location = 'block-v1:course+test+2020+type@problem+block@test'
414414 self .lti_ags_model = LtiAgsLineItem .objects .create (
415- lti_configuration = None ,
416415 resource_id = "test-id" ,
417416 label = "this-is-a-test" ,
418417 resource_link_id = self .dummy_location ,
@@ -449,8 +448,16 @@ def setUp(self):
449448 )
450449
451450 self .dummy_location = 'block-v1:course+test+2020+type@problem+block@test'
451+
452+ self .lti_config = LtiConfiguration .objects .create (
453+ config_id = '6c440bf4-face-beef-face-e8bcfb1e53bd' ,
454+ location = self .dummy_location ,
455+ version = LtiConfiguration .LTI_1P3 ,
456+ config_store = LtiConfiguration .CONFIG_ON_XBLOCK ,
457+ )
458+
452459 self .line_item = LtiAgsLineItem .objects .create (
453- lti_configuration = None ,
460+ lti_configuration = self . lti_config ,
454461 resource_id = "test-id" ,
455462 label = "this-is-a-test" ,
456463 resource_link_id = self .dummy_location ,
You can’t perform that action at this time.
0 commit comments