From bc8c502d05f2cfe817e30f43a7b794a578f523fa Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Wed, 20 Jul 2005 14:44:20 +0000
Subject: [PATCH] Fixes to reflect new test db

---
 modules/t/regulatoryFeatureAdaptor.t | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/t/regulatoryFeatureAdaptor.t b/modules/t/regulatoryFeatureAdaptor.t
index cf814f8c42..8bffc768a8 100644
--- a/modules/t/regulatoryFeatureAdaptor.t
+++ b/modules/t/regulatoryFeatureAdaptor.t
@@ -35,15 +35,15 @@ ok($feat->strand == 1);
 my $rma = $db->get_RegulatoryFactorAdaptor();
 my $factor = $rma->fetch_by_name('hsa-miR-138');
 ok($factor);
-ok(@{$rfa->fetch_all_by_factor($factor)} == 2);
+ok(@{$rfa->fetch_all_by_factor($factor)} == 3);
 
 # List_dbids
 my $ids = $rfa->list_dbIDs();
 ok (@{$ids});
 
 # test fetch_all_by_transcript
-my $transcript =  $db->get_TranscriptAdaptor()->fetch_by_dbID(21740);
-ok(@{$rfa->fetch_all_by_transcript($transcript)} == 13);
+my $transcript =  $db->get_TranscriptAdaptor()->fetch_by_stable_id("ENST00000217299");
+ok(@{$rfa->fetch_all_by_transcript($transcript)} == 14);
 
 # Test store
 
-- 
GitLab