Commit c1325dae authored by alexpott's avatar alexpott

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
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment