Remove _full methods
[gruntmaster-data.git] / t / Gruntmaster-Data.t
index 0b325a3ff637c87b1c1f3fa8e7f169688675df4d..38c2330fcf3219501264cf9289571e4c27d86290 100644 (file)
@@ -10,7 +10,7 @@ BEGIN {
        eval {
                Gruntmaster::Data::init 'dbi:Pg:dbname=gmtest'; 1;
        } or plan skip_all => 'Cannot connect to test database. Create it by running createdb gmtest before running this test. '. "Error: $@";
-       plan tests => 35;
+       plan tests => 33;
 }
 
 note 'Setting up test database';
@@ -67,9 +67,6 @@ cmp_bag ids, [qw/pc rc fc/], 'contest_list';
 $x = contest_entry 'fc';
 cmp_deeply $x, {id => 'fc', name => 'Finished contest', start => ignore, stop => ignore, owner => 'MGV', owner_name => undef, finished => bool (1), started => bool (1), description => undef}, 'contest_entry fc';
 
-$x = contest_full 'fc';
-ok exists $x->{editorial}, 'contest_full fc has editorial';
-
 ok contest_has_problem('rc', 'rca'), 'contest rc has problem rca';
 ok contest_has_problem('rc', 'arc'), 'contest rc does not have problem arc';
 
@@ -104,9 +101,6 @@ is_deeply $x->{results}, [], 'job_entry results';
 $x = job_entry 7;
 ok !defined $x->{result}, 'job_entry 7 has NULL result';
 
-$x = job_full 1;
-ok exists $x->{source}, 'job_full has source';
-
 $x = standings 'fc';
 is_deeply $x, {
        problems => [[fca => 'FC problem A']],
This page took 0.009716 seconds and 4 git commands to generate.