Skip to content
Snippets Groups Projects
Commit d2da8912 authored by Balint Pekker's avatar Balint Pekker Committed by Christopher C. Wells
Browse files

Issue #3298114: Drupal 10 compatibility

parent 9272b2a0
No related branches found
No related tags found
2 merge requests!5Resolve #3313622 "Do not use loadByProperties",!4Issue #3298114: Drupal 10 compatibility
......@@ -32,12 +32,11 @@
],
"require" : {
"ext-openssl": "*",
"drupal/core": "^8.8 || ^9.0",
"league/oauth2-client": "^2.0"
"league/oauth2-client": "^2.0",
"drupal/core": "^9.1 || ^10"
},
"require-dev": {
"drupal/coder": "^8.3",
"drupal/social_auth": "^3.0@dev",
"phpcompatibility/php-compatibility": "^9.3"
},
"config": {
......
......@@ -2,5 +2,5 @@ name: Social API
type: module
description: Common interface for communicating with social networking services.
package: Social
core_version_requirement: ^8.8 || ^9
core_version_requirement: ^9.1 || ^10
configure: social_api.admin_config
......@@ -39,7 +39,7 @@ public function getUserId() {
* @param string $token
* The serialized access token.
*
* @return \Drupal\social_auth\Entity\SocialApi
* @return \Drupal\social_api\Entity\SocialApi
* Drupal Social Auth Entity.
*/
public function setToken($token) {
......
......@@ -168,8 +168,9 @@ public function checkPermissionForSettingsPage() {
public function checkSettingsFormSubmission() {
$this->drupalLogin($this->adminUser);
$path = 'admin/config/social-api/' . $this->moduleType . '/' . $this->provider;
$this->drupalGet($path);
$this->drupalPostForm($path, $this->edit, $this->t('Save configuration'));
$this->submitForm($this->edit, $this->t('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.
Please register or to comment