mirror of
https://github.com/langgenius/dify.git
synced 2026-09-03 15:27:49 +08:00
fix(ci): align KnowledgeFS integration tests
This commit is contained in:
parent
7a20d54847
commit
68fb92c8d5
@ -961,7 +961,6 @@ def test_service_credential_routes_validate_profile_before_facade_delegation(
|
||||
@pytest.mark.parametrize(
|
||||
("resource_module", "class_name"),
|
||||
[
|
||||
(console_resources, "KnowledgeFSSpaceDocumentsApi"),
|
||||
(console_resources, "KnowledgeFSSpaceQueriesApi"),
|
||||
(service_resources, "KnowledgeFSServiceDocumentsApi"),
|
||||
(service_resources, "KnowledgeFSServiceQueriesApi"),
|
||||
|
||||
@ -202,7 +202,7 @@ def test_credential_rejects_manifest_gap_before_persistence(sqlite_session: Sess
|
||||
tenant_id="tenant-1",
|
||||
actor_account_id="owner-1",
|
||||
control_space_id=space.id,
|
||||
payload=KnowledgeFSCredentialCreatePayload(allowed_actions=["documents.create"]),
|
||||
payload=KnowledgeFSCredentialCreatePayload(allowed_actions=["documents.unregistered"]),
|
||||
)
|
||||
|
||||
assert sqlite_session.scalar(select(KnowledgeFSApiCredential)) is None
|
||||
|
||||
Loading…
Reference in New Issue
Block a user