Skip to content

Commit

Permalink
changed from query to session
Browse files Browse the repository at this point in the history
updated README.md
  • Loading branch information
taka-rl committed Oct 14, 2024
1 parent d7164f2 commit 87e40bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ User:
## Current development
- Testing
- Documentation
- Add github actions, which is python-app.yml to execute pytest

## Future development:
- Improve the web page design
Expand Down
2 changes: 1 addition & 1 deletion tests/test_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def test_change_user_role(super_admin_client):
assert response.status_code == 302

# Verify the role has been changed
user = User.query.get(user.id)
user = db.session.get(User, user.id)
assert user.role == 'admin'


Expand Down

0 comments on commit 87e40bf

Please sign in to comment.