Browse Source

单元测试

Jiang qinghua 3 years ago
parent
commit
5161c82089
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/Browser/Cases/MenuTest.php

+ 1 - 1
tests/Browser/Cases/MenuTest.php

@@ -83,7 +83,7 @@ class MenuTest extends TestCase
                     $browser->choose($id);
                     $browser->choose($id);
                 })
                 })
                 ->press(__('admin.submit'))
                 ->press(__('admin.submit'))
-                ->waitForText('500 Internal Server Error', 2);
+                ->waitForText(__('admin.parent_select_error'), 2);
         });
         });
     }
     }