diff --git a/modules/t/gene.t b/modules/t/gene.t index bfc3cce4cefcea2b6e2061854f7e4b87774027d5..60e0ab8e7b42a2bc405dab507ba74f5bdc4e0afc 100644 --- a/modules/t/gene.t +++ b/modules/t/gene.t @@ -627,4 +627,4 @@ $multi->restore(); # test regulatory feature retrieval my $rf_gene = $ga->fetch_by_dbID(18256); #ok(@{$rf_gene->get_all_regulatory_features()} == 1); # non-recursive -ok(@{$rf_gene->get_all_regulatory_features(1)} == 2); # recursive +ok(@{$rf_gene->get_all_regulatory_features(1)} == 12); # recursive diff --git a/modules/t/regulatoryFeature.t b/modules/t/regulatoryFeature.t index b761fc436daaf0bbce0b8fcca240ebaf4e2d6fae..3e836fdf7c961e9c9985fe2de2024fe89b767264 100644 --- a/modules/t/regulatoryFeature.t +++ b/modules/t/regulatoryFeature.t @@ -42,9 +42,9 @@ ok(test_getter_setter($rf,'end',14)); ok(test_getter_setter($rf,'strand',1)); # 5 factor -#my $rm = Bio::EnsEMBL::RegulatoryFactor->new(-NAME => 'Joe', -# -TYPE => 'promoter'); -#ok(test_getter_setter($rf,'factor',$rm)); +my $rm = Bio::EnsEMBL::RegulatoryFactor->new(-NAME => 'Joe', + -TYPE => 'transcription_factor'); +ok(test_getter_setter($rf,'factor',$rm)); # 6 influence #ok(test_getter_setter($rf,'influence','positive'));