Skip to content
Snippets Groups Projects
Commit 47da63ea authored by Ankit Pathak's avatar Ankit Pathak Committed by Christopher C. Wells
Browse files

Issue #3434674: Automated Drupal 11 compatibility fixes for social_api

parent 38efa740
No related branches found
No related tags found
1 merge request!10Issue #3434674 "Automated drupal 11"
Pipeline #339217 passed with warnings
......@@ -23,7 +23,11 @@ include:
# https://git.drupalcode.org/project/gitlab_templates/-/blob/main/includes/include.drupalci.variables.yml
# Uncomment the lines below if you want to override any of the variables. The following is just an example.
################
# variables:
# SKIP_ESLINT: '1'
# OPT_IN_TEST_NEXT_MAJOR: '1'
# _CURL_TEMPLATES_REF: 'main'
variables:
OPT_IN_TEST_PREVIOUS_MAJOR: 1
OPT_IN_TEST_PREVIOUS_MINOR: 1
OPT_IN_TEST_NEXT_MINOR: 1
OPT_IN_TEST_NEXT_MAJOR: 1
# Check for deprecation.
RUN_JOB_UPGRADE_STATUS: 1
_CSPELL_WORDS: 'autoposting, phpcompatibility'
......@@ -32,8 +32,8 @@
],
"require" : {
"ext-openssl": "*",
"drupal/core": "^9.1 || ^10",
"league/oauth2-client": "^2.0"
"league/oauth2-client": "^2.0",
"drupal/core": "^9.5 || ^10 || ^11"
},
"require-dev": {
"drupal/coder": "^8.3",
......
......@@ -2,5 +2,5 @@ name: Social API
type: module
description: Common interface for communicating with social networking services.
package: Social
core_version_requirement: ^9.1 || ^10
core_version_requirement: ^9.5 || ^10 || ^11
configure: social_api.admin_config
......@@ -167,7 +167,7 @@ public function checkSettingsFormSubmission() {
$path = 'admin/config/social-api/' . $this->moduleType . '/' . $this->provider;
$this->drupalGet($path);
$this->submitForm($this->edit, $this->t('Save configuration'));
$this->submitForm($this->edit, 'Save configuration');
$this->assertSession()->pageTextContains('The configuration options have been saved.');
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment