Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2022-09-09 15:04:21 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2022-09-09 15:04:21 +0300
commit746d1696b703b626bddb1e33c76992078f8454da (patch)
tree4ffc0ceadb66dc5bb6cab91e1f1a81df72c23509 /test
parentd6b72de8aa4bc9e07869f75d4490d74deeb5b41a (diff)
Improve type declaration of Index::getCompareData method
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test')
-rw-r--r--test/classes/IndexColumnTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/classes/IndexColumnTest.php b/test/classes/IndexColumnTest.php
index 3ab72db02e..d82f60ab4e 100644
--- a/test/classes/IndexColumnTest.php
+++ b/test/classes/IndexColumnTest.php
@@ -45,7 +45,7 @@ class IndexColumnTest extends TestCase
public function testGetCompareData(): void
{
- $this->assertEquals(
+ $this->assertSame(
['Column_name' => '', 'Seq_in_index' => 1, 'Collation' => null, 'Sub_part' => null, 'Null' => ''],
$this->object->getCompareData()
);
@@ -56,7 +56,7 @@ class IndexColumnTest extends TestCase
'Sub_part' => 2,
'Null' => 'NO',
]);
- $this->assertEquals(
+ $this->assertSame(
[
'Column_name' => 'name',
'Seq_in_index' => 2,