Skip to content

Conversation

@josephjclark
Copy link
Collaborator

Attempt to create an integration test for collections

I've updated the lightning mock to use the mock collections API in the adaptor (needs pnpm link to work)

The integration tests uses a real lightning mock server, and so far as I can tell its hitting the endpoint (kinda wierd to debug). But for some reason it always returns a 404? Or an error deep in adaptor code.

I also notice that the collections adaptor verison isn't listed in the versions list. Neither is common for that matter.

@github-project-automation github-project-automation bot moved this to New Issues in v2 Dec 30, 2025
@josephjclark
Copy link
Collaborator Author

I think it's just something wrong in the mocked response structure. Can't see what. Time for a break.

@josephjclark
Copy link
Collaborator Author

Ah got it - it was me all along. A collection value MUST be a string. I was adding objects using the debug API.

Maybe a good idea for the mock API to throw in these case eh

@josephjclark
Copy link
Collaborator Author

Good: I'll re-test this tomorrow once the collections adaptor is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New Issues

Development

Successfully merging this pull request may close these issues.

2 participants