Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add test cases for all objects and all opertions #84

Merged
merged 4 commits into from
Sep 15, 2023

Conversation

Songjf-ttk
Copy link
Contributor

fix: #80

I didn't write tests for 'record' because there are no routes for 'record' in the Casdoor router

@casbin-bot
Copy link

@seriouszyx @ComradeProgrammer @Resulte please review

@CLAassistant
Copy link

CLAassistant commented Sep 15, 2023

CLA assistant check
All committers have signed the CLA.

* feat:Add GetCert api

* fix:Move enfocer.go -> enforcer.go

* fix:Add ModelText to struct Model

* fix:fix func DeleteOrganization

* fix:fix func GetOrganization

* fix:fix func GetSession
* fix:Update ci.yaml move go-version from 1.15 to 1.16
@Songjf-ttk Songjf-ttk changed the title feat: add test cases for all objects and all opertions [WIP]feat: add test cases for all objects and all opertions Sep 15, 2023
@Songjf-ttk Songjf-ttk changed the title [WIP]feat: add test cases for all objects and all opertions feat: add test cases for all objects and all opertions Sep 15, 2023
@Songjf-ttk
Copy link
Contributor Author

I tested the CI five times in my resposiry, and only encountered an error once, and in this error, only one test file failed. I suspect that this low-probability event occured because a null value was returned due to a small chance of network issues when calling the API, which led the test to identify it as an error.

@hsluoyz hsluoyz merged commit f5d877a into casdoor:master Sep 15, 2023
2 checks passed
@github-actions
Copy link

🎉 This PR is included in version 0.30.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: add test cases for all objects and all operations
4 participants