Skip to content

Commit

Permalink
Trailing slash for WordPress author URLs. Fixes fediverse-devnet#292
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Ernst committed Sep 23, 2024
1 parent 0a0a7c8 commit b26a1d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/feditest/nodedrivers/wordpress/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,10 @@ def create_from_account_info_in_testplan(account_info_in_testplan: dict[str, str

@property
def actor_uri(self):
return f'https://{ self.node.hostname }/author/{ self.userid }'
return f'https://{ self.node.hostname }/author/{ self.userid }/'


def mastodon_user_client(self, node: NodeWithMastodonAPI) -> Mastodon:

if self._mastodon_user_client is None:
oauth_app = cast(MastodonOAuthApp,node._mastodon_oauth_app)
self._ensure_oauth_token(node, oauth_app.client_id)
Expand Down

0 comments on commit b26a1d2

Please sign in to comment.