namespace Drupal\system\Tests\Update;
+@trigger_error(__NAMESPACE__ . '\UpdatePathTestBase is deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0. Use \Drupal\FunctionalTests\Update\UpdatePathTestBase instead. See https://www.drupal.org/node/2896640.', E_USER_DEPRECATED);
+
use Drupal\Component\Utility\Crypt;
use Drupal\Tests\SchemaCheckTestTrait;
use Drupal\Core\Database\Database;
*
* @ingroup update_api
*
+ * @deprecated in Drupal 8.4.0 and will be removed before Drupal 9.0.0.
+ * Use \Drupal\FunctionalTests\Update\UpdatePathTestBase.
+ * @see https://www.drupal.org/node/2896640
+ *
* @see hook_update_N()
*/
abstract class UpdatePathTestBase extends WebTestBase {
}
// The site might be broken at the time so logging in using the UI might
// not work, so we use the API itself.
- drupal_rewrite_settings(['settings' => ['update_free_access' => (object) [
- 'value' => TRUE,
- 'required' => TRUE,
- ]]]);
+ drupal_rewrite_settings([
+ 'settings' => [
+ 'update_free_access' => (object) [
+ 'value' => TRUE,
+ 'required' => TRUE,
+ ],
+ ],
+ ]);
$this->drupalGet($this->updateUrl);
$this->clickLink(t('Continue'));