Jelajahi Sumber

Fixed tests that were affected by tag and value checks that have now been removed

Risharde Ramnath 4 tahun lalu
induk
melakukan
9035086bfe
1 mengubah file dengan 2 tambahan dan 7 penghapusan
  1. 2 7
      tests/tripal_chado/loaders/GFF3ImporterTest.php

+ 2 - 7
tests/tripal_chado/loaders/GFF3ImporterTest.php

@@ -91,7 +91,7 @@ class GFF3ImporterTest extends TripalTestCase {
       $hasException = true;
     }
 
-    $this->assertEquals($hasException, true);
+    $this->assertEquals($hasException, false);
   }
 
   /**
@@ -262,7 +262,7 @@ class GFF3ImporterTest extends TripalTestCase {
       $hasException = true;
     }
 
-    $this->assertEquals($hasException, true);
+    $this->assertEquals($hasException, false);
   }
 
   /**
@@ -659,11 +659,6 @@ class GFF3ImporterTest extends TripalTestCase {
       $this->assertEquals($row->strand, 0); // .
     }     
 
-    // This GFF should create 5 featureloc records
-    $results = db_query('SELECT COUNT(*) as c FROM chado.featureloc;');
-    foreach ($results as $row) {
-      $this->assertEquals($row->c, 5);
-    }
   }
 
   /**