瀏覽代碼

update

update
jqh 5 年之前
父節點
當前提交
03cd6281ec
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      tests/Feature/UserGridTest.php

+ 3 - 3
tests/Feature/UserGridTest.php

@@ -32,6 +32,9 @@ class UserGridTest extends TestCase
 
         $action = url('/admin/tests/users');
 
+        //$this->seeInElement('a[href="http://localhost:8000/admin/tests/users?_export_=all"]', 'All')
+        //    ->seeInElement('a[href="http://localhost:8000/admin/tests/users/create"]', 'New');
+
         $this->seeElement("form[action='$action'][method=get]")
 //            ->seeElement("form[action='$action'][method=get] input[name=id]")
             ->seeElement("form[action='$action'][method=get] input[name=username]")
@@ -40,9 +43,6 @@ class UserGridTest extends TestCase
             ->seeElement("form[action='$action'][method=get] input[name='profile[start_at][end]']")
             ->seeElement("form[action='$action'][method=get] input[name='profile[end_at][start]']")
             ->seeElement("form[action='$action'][method=get] input[name='profile[end_at][end]']");
-
-        $this->seeInElement('a[href="http://localhost:8000/admin/tests/users?_export_=all"]', 'All')
-            ->seeInElement('a[href="http://localhost:8000/admin/tests/users/create"]', 'New');
     }
 
     protected function seedsTable($count = 100)