소스 검색

small fix to test parameters.

Lacey Sanderson 6 년 전
부모
커밋
cef84c9d45
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      tests/tripal_chado/fields/sbo__relationship_widgetTest.php

+ 2 - 2
tests/tripal_chado/fields/sbo__relationship_widgetTest.php

@@ -101,9 +101,9 @@ class sbo__relationship_widgetTest extends TripalTestCase {
     // Check we have the variables we initialized.
     // Check we have the variables we initialized.
     $this->assertNotEmpty($helper->bundle,
     $this->assertNotEmpty($helper->bundle,
       "Could not load the bundle.");
       "Could not load the bundle.");
-    $this->assertNotEmpty($helper->getFieldInfo(),
+    $this->assertNotEmpty($helper->getFieldInfo($field_name),
       "Could not lookup the field information.");
       "Could not lookup the field information.");
-    $this->assertNotEmpty($helper->getInstanceInfo(),
+    $this->assertNotEmpty($helper->getInstanceInfo($bundle_name, $field_name),
       "Could not lookup the instance information.");
       "Could not lookup the instance information.");
     $this->assertNotEmpty($widget_class,
     $this->assertNotEmpty($widget_class,
       "Couldn't create a widget class instance.");
       "Couldn't create a widget class instance.");