NFDI4Chem / nmrxiv

nmrXiv is currently developed as the FAIR, consensus-driven NMR data repository and computational platform. The ultimate goal is to accelerate broader coordination and data sharing among researchers by enabling storage, management, sharing and analysis of NMR data.
https://nmrxiv.org
MIT License
14 stars 4 forks source link

Fix failing test of teams. #1072

Closed NishaSharma14 closed 7 months ago

NishaSharma14 commented 7 months ago

Right now its commented out to bypass the failing test.

CS76 commented 7 months ago

@NishaSharma14 can you point to the specific test here pls

NishaSharma14 commented 7 months ago

@CS76 You can check here in the logs. I was able to fix a few & commented which couldn't be fixed. And these tests are failing after the fix of issue https://github.com/NFDI4Chem/nmrxiv/issues/1022 https://github.com/NFDI4Chem/nmrxiv/actions/runs/7656253793/job/20864155104

CS76 commented 7 months ago

Culprit was the project factory - looks like this has been fixed (url -> obfuscation_code)

column "url" of relation "projects" does not exist
LINE 1: ..._archived", "status", "process_logs", "location", "url", "de...``
Screenshot 2024-02-02 at 17 01 32

@NishaSharma14 Local tests are running fine. Can you confirm if this is still an issue?

NishaSharma14 commented 7 months ago

@CS76 , Can you plz check the test test_only_team_owner_can_remove_team_members? I commented it out to by pass.

NishaSharma14 commented 7 months ago

tested and works as expected.