Skip to content

Commit 8f931d0

Browse files
fix test_find_by method; update auth_type to config in integration tests
1 parent 1a06781 commit 8f931d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/tests/posit/connect/oauth/test_integrations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ def test_find(self):
6363
def test_find_by(self):
6464
result = self.client.oauth.integrations.find_by(
6565
integration_type="custom",
66-
auth_type="Confidential",
66+
config={"auth_mode": "Confidential"},
6767
name="example integration",
6868
)
6969
assert result is not None
7070
assert result["guid"] == self.integration["guid"]
7171

7272
result = self.client.oauth.integrations.find_by(
7373
integration_type="custom",
74-
auth_type="Confidential",
74+
config={"auth_mode": "Confidential"},
7575
name="nonexistent integration",
7676
)
7777
assert result is None

0 commit comments

Comments
 (0)