Skip to content

Commit

Permalink
fix: add support for mediaWiki api path in test cases!
Browse files Browse the repository at this point in the history
  • Loading branch information
amindadgar committed May 28, 2024
1 parent 0c1f1a7 commit 28a1bf0
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def test_get_single_data(self):
"_id": platform_id,
"name": "mediaWiki",
"metadata": {
"baseURL": "http://example.com/api",
"baseURL": "http://example.com",
"path": "/api",
},
"community": community_id,
"disconnectedAt": None,
Expand Down Expand Up @@ -117,7 +118,8 @@ def test_get_mediawiki_communities_data_multiple_platforms(self):
"_id": platform_id1,
"name": "mediaWiki",
"metadata": {
"baseURL": "http://example1.com/api",
"baseURL": "http://example1.com",
"path": "/api",
},
"community": community_id,
"disconnectedAt": None,
Expand All @@ -132,7 +134,8 @@ def test_get_mediawiki_communities_data_multiple_platforms(self):
"_id": platform_id2,
"name": "mediaWiki",
"metadata": {
"baseURL": "http://example2.com/api",
"baseURL": "http://example2.com",
"path": "/api",
},
"community": community_id,
"disconnectedAt": None,
Expand Down

0 comments on commit 28a1bf0

Please sign in to comment.