diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-04-27 04:59:09 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2021-04-27 04:59:09 +0300 |
commit | 5750dfb1bb1d7246961d8ea209c2704d07b0706d (patch) | |
tree | 554c94f14366e78aaa9c264694e297e82b0b7745 /test/classes | |
parent | f28dc343d72e34da932cc8809b741a1282041d93 (diff) |
Extract method to get edit user group modal form
Creates a new route: /server/user-groups/edit-form
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/classes')
-rw-r--r-- | test/classes/Server/PrivilegesTest.php | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/test/classes/Server/PrivilegesTest.php b/test/classes/Server/PrivilegesTest.php index 2be7c19b12..ed28ee8093 100644 --- a/test/classes/Server/PrivilegesTest.php +++ b/test/classes/Server/PrivilegesTest.php @@ -319,32 +319,6 @@ class PrivilegesTest extends AbstractTestCase } /** - * Test for getHtmlToChooseUserGroup - */ - public function testGetHtmlToChooseUserGroup(): void - { - $username = 'pma_username'; - - $html = $this->serverPrivileges->getHtmlToChooseUserGroup($username); - $this->assertStringContainsString( - '<form class="ajax" id="changeUserGroupForm"', - $html - ); - //Url::getHiddenInputs - $params = ['username' => $username]; - $html_output = Url::getHiddenInputs($params); - $this->assertStringContainsString( - $html_output, - $html - ); - //__('User group') - $this->assertStringContainsString( - __('User group'), - $html - ); - } - - /** * Test for getSqlQueryForDisplayPrivTable */ public function testGetSqlQueryForDisplayPrivTable(): void |