File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
dev/tests/setup-integration/testsuite/Magento/Setup Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ public function testInstallationWithConstraintsModification()
208
208
['Magento_TestSetupDeclarationModule1 ' ]
209
209
);
210
210
$ this ->updateDbSchemaRevision ('constraint_modifications ' );
211
- $ adapter = $ this ->resourceConnection ->getConnection ("default " );
212
- $ adapter ->query ("SET @OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=@@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY, @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=0 " );
211
+ // $adapter = $this->resourceConnection->getConnection("default");
212
+ // $adapter->query("SET @OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=@@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY, @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=0");
213
213
$ this ->cliCommand ->upgrade ();
214
214
215
215
$ diff = $ this ->schemaDiff ->diff (
@@ -219,7 +219,7 @@ public function testInstallationWithConstraintsModification()
219
219
self ::assertNull ($ diff ->getAll ());
220
220
$ shardData = $ this ->describeTable ->describeShard (Sharding::DEFAULT_CONNECTION );
221
221
$ this ->assertTableCreationStatements ($ this ->getTrimmedData (), $ shardData );
222
- $ adapter ->query ("SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=IF(@OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=0, 0, 1) " );
222
+ // $adapter->query("SET @@GLOBAL.RESTRICT_FK_ON_NON_STANDARD_KEY=IF(@OLD_RESTRICT_FK_ON_NON_STANDARD_KEY=0, 0, 1)");
223
223
}
224
224
225
225
/**
You can’t perform that action at this time.
0 commit comments