From bf81a6e6651e1701b71bfd050dad4bf019faa974 Mon Sep 17 00:00:00 2001 From: Magali Ruffier <mr6@ebi.ac.uk> Date: Mon, 23 Sep 2013 14:09:47 +0000 Subject: [PATCH] ENSCORESW-677: test updated to include get_all_versions method --- modules/t/coordSystemAdaptor.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/t/coordSystemAdaptor.t b/modules/t/coordSystemAdaptor.t index 1dab7f07e6..3e012431be 100644 --- a/modules/t/coordSystemAdaptor.t +++ b/modules/t/coordSystemAdaptor.t @@ -37,6 +37,9 @@ ok($cs->is_default()); my $version = $csa->get_default_version(); is($version, "NCBI33", "Found the correct default version"); +my @versions = @{ $csa->get_all_versions() }; +is($versions[0], "NCBI33", "Found the first version"); + # # Test fetch_all_by_name -- GitLab