mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-25 08:09:41 +02:00
feature/mobile-layout (#431)
* lazy load cards * shopping list recipe search bug * admin layout fluid * site loader * username support * mobile tabs * set username at signup * update user tests * patch bug on shopping list * public mealplan links * support link (I'm a monster) * icon only on mobile * padding Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
8f8127a5fc
commit
822663905d
33 changed files with 273 additions and 119 deletions
|
@ -10,12 +10,28 @@ from tests.app_routes import AppRoutes
|
|||
|
||||
@fixture(scope="session")
|
||||
def default_user():
|
||||
return UserOut(id=1, fullName="Change Me", email="changeme@email.com", group="Home", admin=True, tokens=[])
|
||||
return UserOut(
|
||||
id=1,
|
||||
fullName="Change Me",
|
||||
username="Change Me",
|
||||
email="changeme@email.com",
|
||||
group="Home",
|
||||
admin=True,
|
||||
tokens=[],
|
||||
)
|
||||
|
||||
|
||||
@fixture(scope="session")
|
||||
def new_user():
|
||||
return UserOut(id=3, fullName="My New User", email="newuser@email.com", group="Home", admin=False, tokens=[])
|
||||
return UserOut(
|
||||
id=3,
|
||||
fullName="My New User",
|
||||
username="My New User",
|
||||
email="newuser@email.com",
|
||||
group="Home",
|
||||
admin=False,
|
||||
tokens=[],
|
||||
)
|
||||
|
||||
|
||||
def test_superuser_login(api_client: TestClient, api_routes: AppRoutes, token):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue