From ee9ea8374693f5f9be7c597aee82ead3aebc8e6e Mon Sep 17 00:00:00 2001
From: Graham McVicker <mcvicker@sanger.ac.uk>
Date: Thu, 15 Jan 2004 10:18:58 +0000
Subject: [PATCH] fixed test

---
 modules/t/markerFeature.t | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/modules/t/markerFeature.t b/modules/t/markerFeature.t
index a3c69cffba..57c99909a7 100644
--- a/modules/t/markerFeature.t
+++ b/modules/t/markerFeature.t
@@ -8,6 +8,7 @@ BEGIN { $| = 1;
 
 use MultiTestDB;
 use Bio::EnsEMBL::Map::MarkerFeature;
+use Bio::EnsEMBL::Map::MarkerSynonym;
 use Bio::EnsEMBL::Analysis;
 use TestUtils qw(debug test_getter_setter);
 
@@ -89,4 +90,8 @@ ok($mf->strand == 0);
 ok($mapweight == $mf->map_weight);
 
 
-ok($mf->display_id eq $mf->marker->display_MarkerSynonym());
\ No newline at end of file
+
+my $ms = Bio::EnsEMBL::Map::MarkerSynonym->new(1234, 'unists', 'a marker');
+
+$mf->marker()->display_MarkerSynonym($ms);
+ok($mf->display_id() eq $mf->marker()->display_MarkerSynonym()->name());
-- 
GitLab