1
0
mirror of https://github.com/phpmyadmin/phpmyadmin.git synced 2026-10-28 07:41:55 +03:00

Merge pull request #13936 from carusogabriel/assertions

Use assertNotSame instead of comparison in test
This commit is contained in:
Maurício Meneghini Fauth
2018-01-16 11:54:58 -02:00
committed by GitHub

View File

@@ -853,7 +853,7 @@ class ConfigTest extends PmaTestCase
//if the above assertion is false then applying further assertions
if (!($perms === false) && ($perms & 2)) {
$this->assertFalse($this->permTestObj->get('PMA_IS_WINDOWS') == 0);
$this->assertNotSame(0, $this->permTestObj->get('PMA_IS_WINDOWS'));
}
}