Skip to content

Commit d73e544

Browse files
committed
MAGETWO-92929: Declarative schema tests are located in inappropriate place
- codestyle fixes
1 parent e488552 commit d73e544

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

lib/internal/Magento/Framework/Setup/Test/Unit/SchemaListenerTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function testCreateTable()
125125
'nullable' => false,
126126
'default' => 'CURRENT_TIMESTAMP',
127127
'disabled' => false,
128-
'onCreate' => NULL,
128+
'onCreate' => null,
129129
],
130130
'integer' =>
131131
[
@@ -135,9 +135,9 @@ public function testCreateTable()
135135
'unsigned' => false,
136136
'nullable' => false,
137137
'identity' => true,
138-
'default' => NULL,
138+
'default' => null,
139139
'disabled' => false,
140-
'onCreate' => NULL,
140+
'onCreate' => null,
141141
],
142142
'decimal' =>
143143
[
@@ -147,9 +147,9 @@ public function testCreateTable()
147147
'precision' => '25',
148148
'unsigned' => false,
149149
'nullable' => false,
150-
'default' => NULL,
150+
'default' => null,
151151
'disabled' => false,
152-
'onCreate' => NULL,
152+
'onCreate' => null,
153153
],
154154
],
155155
$tables['First_Module']['new_table']['columns']

lib/internal/Magento/Framework/Setup/Test/Unit/SchemaPersistorTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public function schemaListenerTablesDataProvider()
143143
]
144144
]
145145
],
146+
// @codingStandardsIgnoreStart
146147
'XMLResult' => '<?xml version="1.0"?>
147148
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
148149
xsi:noNamespaceSchemaLocation="urn:magento:framework:Setup/Declaration/Schema/etc/schema.xsd">
@@ -161,6 +162,7 @@ public function schemaListenerTablesDataProvider()
161162
</index>
162163
</table>
163164
</schema>'
165+
// @codingStandardsIgnoreEnd
164166
]
165167
];
166168
}

0 commit comments

Comments
 (0)