spec fix invalid user creations
users should only be on root_accounts refs CNVS-21700 Change-Id: I0e54a0dd6faedfa5fdfadb728637ffb0a2413b53 Reviewed-on: https://gerrit.instructure.com/57695 Reviewed-by: James Williams <jamesw@instructure.com> Tested-by: Jenkins Product-Review: Jacob Fugal <jacob@instructure.com> QA-Review: Jacob Fugal <jacob@instructure.com>
This commit is contained in:
parent
c85864c543
commit
8e29951717
|
@ -35,7 +35,7 @@ describe Lti::LtiUserCreator do
|
|||
sub_account = Account.create!
|
||||
sub_account.root_account = root_account
|
||||
sub_account.save!
|
||||
pseudonym = pseudonym(canvas_user, account: sub_account, username: 'login_id')
|
||||
pseudonym = pseudonym(canvas_user, account: sub_account.root_account, username: 'login_id')
|
||||
|
||||
pseudonym.sis_user_id = 'sis id!'
|
||||
pseudonym.save!
|
||||
|
|
Loading…
Reference in New Issue