Merge pull request #236 from openHPI/fix_testruns
Specify file as optional for testruns
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
class Testrun < ApplicationRecord
|
||||
belongs_to :file, class_name: 'CodeOcean::File'
|
||||
belongs_to :file, class_name: 'CodeOcean::File', optional: true
|
||||
belongs_to :submission
|
||||
end
|
||||
|
Reference in New Issue
Block a user