mengw15 opened a new issue, #7228:
URL: https://github.com/apache/texera/issues/7228

   ### Task Summary
   
   `CollaborationResource` 
(`amber/src/main/scala/org/apache/texera/web/resource/CollaborationResource.scala`,
 codecov ~62%) — its non-DB (websocket) surface is covered, but the two 
DB-backed branches (scoped out of the earlier #6900 pass) remain unhit. Extend 
the spec on embedded Postgres via `MockTexeraDB` to cover them.
   
   ### Behavior to add
   
   In the spec, add a `MockTexeraDB` setup 
(`initializeDBAndReplaceDSLContext()`, seed users + a shared workflow via DAOs) 
and cover the two DB-backed branches — the ones that resolve collaborators / 
access from `SqlServer` that the current spec skips. Assert the returned 
collaborator/access data for a seeded shared workflow, plus the empty/no-access 
case.
   
   (The websocket `myOnOpen` / `myOnMsg` paths are already covered via the 
mocked `javax.websocket.Session`; this issue is only the DB branches.)
   
   ### Task Type
   - [ ] Refactor / Cleanup
   - [ ] DevOps / Deployment / CI
   - [x] Testing / QA
   - [ ] Documentation
   - [ ] Performance
   - [ ] Other
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to