-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #398 from maykinmedia/issue/demodata-update
💚 update demodata with token model change
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,8 +15,9 @@ jobs: | |
run: docker-compose -f docker-compose-qs.yml up -d | ||
- name: Wait until DB container starts | ||
run: sleep 10 | ||
- name: Load fixtures | ||
run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py loaddata demodata | ||
# TODO uncomment when correct fixtures are uploaded into dockerhub inside docker image | ||
# - name: Load fixtures | ||
# run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py loaddata demodata | ||
- name: Create superuser | ||
run: docker-compose -f docker-compose-qs.yml exec -T web src/manage.py createsuperuser --username admin --email [email protected] --no-input | ||
- name: Check main page | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -772,20 +772,21 @@ | |
}, | ||
{ | ||
"model": "token.tokenauth", | ||
"pk": "cd63e158f3aca276ef284e3033d020a22899c728", | ||
"pk": 1, | ||
"fields": { | ||
"contact_person": "test", | ||
"email": "[email protected]", | ||
"organization": "", | ||
"last_modified": "2020-12-23T11:43:16.820Z", | ||
"created": "2020-12-22T16:27:00.751Z" | ||
"created": "2020-12-22T16:27:00.751Z", | ||
"token": "cd63e158f3aca276ef284e3033d020a22899c728" | ||
} | ||
}, | ||
{ | ||
"model": "token.permission", | ||
"pk": 1, | ||
"fields": { | ||
"token_auth": "cd63e158f3aca276ef284e3033d020a22899c728", | ||
"token_auth": 1, | ||
"object_type": 2, | ||
"mode": "read_and_write" | ||
} | ||
|
@@ -794,7 +795,7 @@ | |
"model": "token.permission", | ||
"pk": 2, | ||
"fields": { | ||
"token_auth": "cd63e158f3aca276ef284e3033d020a22899c728", | ||
"token_auth": 1, | ||
"object_type": 1, | ||
"mode": "read_and_write" | ||
} | ||
|