Merge pull request #236 from openHPI/fix_testruns

Specify file as optional for testruns
This commit is contained in:
rteusner
2018-11-28 16:10:28 +01:00
committed by GitHub

View File

@ -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