Skip to content
Snippets Groups Projects
Commit 2b6a87aa authored by Magali Ruffier's avatar Magali Ruffier
Browse files

correct typo

added test for 'fetch_all_by_feature_class' with density features
parent 381c2cb0
No related branches found
No related tags found
No related merge requests found
......@@ -92,14 +92,15 @@ $analysis_updated = $analysis_ad->fetch_by_dbID($dbID);
is($analysis_updated->description(), "updated description", "Description matches the update");
is_rows(2, $db, "analysis_description");
# Fetch all analyses for a feature class
my @analyses = $analysis_ad->fetch_all_by_feature_class('Gene');
is(scalar(@analyses), 1, "Found 1 analysis for genes");
$multi->restore();
# Fetch all analyses for a feature class
my @analyses = @{ $analysis_ad->fetch_all_by_feature_class('Gene') };
is(scalar(@analyses), 6, "Found 6 analyses for genes");
@analyses = @{ $analysis_ad->fetch_all_by_feature_class('DensityFeature') };
is(scalar(@analyses), 6, "Found 6 analyses for density features");
$multi->restore();
sub check_methods {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment