Skip to content

Commit 6022e51

Browse files
author
Sergii Kovalenko
committed
MAGETWO-89402: Make 'db:status' command works properly
--fix static tests
1 parent 3f027ca commit 6022e51

File tree

3 files changed

+4
-6
lines changed
  • app/code/Magento/SalesSequence/etc
  • dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule1/fixture/declarative_installer
  • lib/internal/Magento/Framework/Setup/Test/Unit/Declaration/Schema/Diff

3 files changed

+4
-6
lines changed

app/code/Magento/SalesSequence/etc/module.xml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,5 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9-
<module name="Magento_SalesSequence" >
10-
<sequence>
11-
<module name="Magento_Store"/>
12-
</sequence>
13-
</module>
9+
<module name="Magento_SalesSequence"/>
1410
</config>

dev/tests/setup-integration/_files/Magento/TestSetupDeclarationModule1/fixture/declarative_installer/table_rename.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
return [
79
'before' => 'CREATE TABLE `some_table` (
810
`some_column` varchar(255) DEFAULT NULL COMMENT \'Some Column Name\'

lib/internal/Magento/Framework/Setup/Test/Unit/Declaration/Schema/Diff/DiffManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public function testRegisterRemovalReference()
146146
$diff->expects(self::exactly(2))
147147
->method('register')
148148
->withConsecutive(
149-
[$reference, 'drop_reference', $reference, 'ref_table'],
149+
[$reference, 'drop_reference', $reference],
150150
[$table, 'drop_table', $table]
151151
);
152152
$this->model->registerRemoval($diff, [$reference, $table]);

0 commit comments

Comments
 (0)