Skip to content
Snippets Groups Projects
Commit c1325dae authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2830333 by Wim Leers, tedbow: All REST update path test coverage...

Issue #2830333 by Wim Leers, tedbow: All REST update path test coverage fixtures contain no-op code and other mistakes
parent 240406a7
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
No preview for this file type
......@@ -17,16 +17,6 @@
'name' => 'rest',
'value' => 'i:8000;',
])
->fields([
'collection' => 'system.schema',
'name' => 'serialization',
'value' => 'i:8000;',
])
->fields([
'collection' => 'system.schema',
'name' => 'basic_auth',
'value' => 'i:8000;',
])
->execute();
// Update core.extension.
......@@ -37,9 +27,9 @@
->execute()
->fetchField();
$extensions = unserialize($extensions);
$extensions['module']['basic_auth'] = 8000;
$extensions['module']['rest'] = 8000;
$extensions['module']['serialization'] = 8000;
$extensions['module']['basic_auth'] = 0;
$extensions['module']['rest'] = 0;
$extensions['module']['serialization'] = 0;
$connection->update('config')
->fields([
'data' => serialize($extensions),
......@@ -58,7 +48,7 @@
],
],
],
'link_domain' => '~',
'link_domain' => NULL,
];
$data = $connection->insert('config')
->fields([
......
......@@ -17,11 +17,6 @@
'name' => 'rest',
'value' => 'i:8000;',
])
->fields([
'collection' => 'system.schema',
'name' => 'serialization',
'value' => 'i:8000;',
])
->execute();
// Update core.extension.
......@@ -32,8 +27,8 @@
->execute()
->fetchField();
$extensions = unserialize($extensions);
$extensions['module']['rest'] = 8000;
$extensions['module']['serialization'] = 8000;
$extensions['module']['rest'] = 0;
$extensions['module']['serialization'] = 0;
$connection->update('config')
->fields([
'data' => serialize($extensions),
......@@ -52,7 +47,7 @@
],
],
],
'link_domain' => '~',
'link_domain' => NULL,
];
$data = $connection->insert('config')
->fields([
......
......@@ -18,16 +18,6 @@
'name' => 'rest',
'value' => 'i:8000;',
])
->fields([
'collection' => 'system.schema',
'name' => 'serialization',
'value' => 'i:8000;',
])
->fields([
'collection' => 'system.schema',
'name' => 'basic_auth',
'value' => 'i:8000;',
])
->execute();
// Update core.extension.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment