From 33486ee2eb124a291bae82f89abe7daac97484fb Mon Sep 17 00:00:00 2001 From: Torsten Dittmann Date: Thu, 19 May 2022 14:18:55 +0200 Subject: [PATCH] tests: fix naming in migration --- tests/unit/Migration/MigrationTest.php | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/unit/Migration/MigrationTest.php b/tests/unit/Migration/MigrationTest.php index fb7b47c0d0..49aee87f58 100644 --- a/tests/unit/Migration/MigrationTest.php +++ b/tests/unit/Migration/MigrationTest.php @@ -50,22 +50,22 @@ abstract class MigrationTest extends TestCase { $this->assertFalse(Migration::hasDifference([], [])); $this->assertFalse(Migration::hasDifference([ - 'a' => true, - 'b' => 'abc', - 'c' => 123, - 'd' => ['a', 'b', 'c'], - 'nested' => [ + 'bool' => true, + 'string' => 'abc', + 'int' => 123, + 'array' => ['a', 'b', 'c'], + 'assoc' => [ 'a' => true, 'b' => 'abc', 'c' => 123, 'd' => ['a', 'b', 'c'] ] ], [ - 'a' => true, - 'b' => 'abc', - 'c' => 123, - 'd' => ['a', 'b', 'c'], - 'nested' => [ + 'bool' => true, + 'string' => 'abc', + 'int' => 123, + 'array' => ['a', 'b', 'c'], + 'assoc' => [ 'a' => true, 'b' => 'abc', 'c' => 123, @@ -95,17 +95,17 @@ abstract class MigrationTest extends TestCase 'nested' => [] ])); $this->assertTrue(Migration::hasDifference([ - 'nested' => [ - 'a' => true, - 'b' => 'abc', - 'c' => 123, - 'd' => ['a', 'b', 'c'] + 'assoc' => [ + 'bool' => true, + 'string' => 'abc', + 'int' => 123, + 'array' => ['a', 'b', 'c'] ] ], [ 'nested' => [ 'a' => true, - 'c' => '123', - 'd' => ['a', 'b', 'c'] + 'int' => '123', + 'array' => ['a', 'b', 'c'] ] ])); }