X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=t%2Ftools.t;h=3d9f52547d21d91714f1fc23d832141021a88e7a;hb=281c39520901fe9bd4b4f7de001c444d1ddf25e5;hp=e8127371475bda57a37a638475b59928bb0aae4c;hpb=e396263b9cda233221df3fd4605c7ed9e9394aca;p=gruntmaster-data.git diff --git a/t/tools.t b/t/tools.t index e812737..3d9f525 100644 --- a/t/tools.t +++ b/t/tools.t @@ -102,7 +102,7 @@ is `$perl gruntmaster-problem get pb author`, "Marius Gavrilescu\n", 'gruntmaste system $perl, 'gruntmaster-problem', 'set', 'pb', 'owner', 'nobody'; withdb { is $db->problem('pb')->owner->id, 'nobody', 'gruntmaster-problem set' }; -withdb { $db->problems->create({id => 'dummy', name => 'Dummy', generator => 'Undef', runner => 'File', judge => 'Absolute', level => 'beginner', owner => 'MGV', statement => '...', testcnt => 1, timeout => 1}) }; +withdb { $db->problems->create({id => 'dummy', name => 'Dummy', generator => 'Undef', runner => 'File', judge => 'Absolute', level => 'beginner', value => 100, owner => 'MGV', statement => '...', testcnt => 1, timeout => 1}) }; @list = sort `$perl gruntmaster-problem list`; chomp @list;