-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1791] Update mocks and fix failing test(s)
- Loading branch information
Showing
5 changed files
with
207 additions
and
2 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
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
48 changes: 48 additions & 0 deletions
48
src/open_inwoner/openzaak/migrations/0027_auto_20231101_1641.py
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Generated by Django 3.2.20 on 2023-11-01 15:41 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("openzaak", "0026_zaaktypestatustypeconfig_document_upload_description"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="openzaakconfig", | ||
name="title_text", | ||
field=models.TextField( | ||
default="Hier vindt u een overzicht van al uw lopende en afgeronde aanvragen.", | ||
help_text="The title/introductory text shown on the list view of 'Mijn aanvragen'.", | ||
verbose_name="Title text", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="zaaktypestatustypeconfig", | ||
name="status_indicator", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[ | ||
("info", "Info"), | ||
("warning", "Warning"), | ||
("failure", "Failure"), | ||
("success", "Success"), | ||
], | ||
help_text="Determines what color will be shown to the user if a case is set to this status", | ||
max_length=32, | ||
verbose_name="Statustype indicator", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="zaaktypestatustypeconfig", | ||
name="status_indicator_text", | ||
field=models.TextField( | ||
blank=True, | ||
default="", | ||
help_text="Determines the text that will be shown to the user if a case is set to this status", | ||
verbose_name="Statustype indicator text", | ||
), | ||
), | ||
] |
72 changes: 72 additions & 0 deletions
72
src/open_inwoner/openzaak/migrations/0027_zaaktype_resultaattype_config.py
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
# Generated by Django 3.2.20 on 2023-10-26 10:05 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
import django_better_admin_arrayfield.models.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("openzaak", "0026_zaaktypestatustypeconfig_document_upload_description"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="ZaakTypeResultaatTypeConfig", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
( | ||
"resultaattype_url", | ||
models.URLField(max_length=1000, verbose_name="Resultaattype URL"), | ||
), | ||
( | ||
"omschrijving", | ||
models.CharField(max_length=20, verbose_name="Omschrijving"), | ||
), | ||
( | ||
"zaaktype_uuids", | ||
django_better_admin_arrayfield.models.fields.ArrayField( | ||
base_field=models.UUIDField(verbose_name="Zaaktype UUID"), | ||
default=list, | ||
size=None, | ||
), | ||
), | ||
( | ||
"description", | ||
models.TextField( | ||
blank=True, | ||
default="", | ||
help_text="Determines the text that will be shown to the user if a case is set to this result", | ||
verbose_name="Frontend description", | ||
), | ||
), | ||
( | ||
"zaaktype_config", | ||
models.ForeignKey( | ||
on_delete=django.db.models.deletion.CASCADE, | ||
to="openzaak.zaaktypeconfig", | ||
), | ||
), | ||
], | ||
options={ | ||
"verbose_name": "Zaaktype Resultaattype Configuration", | ||
}, | ||
), | ||
migrations.AddConstraint( | ||
model_name="zaaktyperesultaattypeconfig", | ||
constraint=models.UniqueConstraint( | ||
fields=("zaaktype_config", "resultaattype_url"), | ||
name="unique_zaaktype_config_resultaattype_url", | ||
), | ||
), | ||
] |
13 changes: 13 additions & 0 deletions
13
src/open_inwoner/openzaak/migrations/0028_merge_20231101_1705.py
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Generated by Django 3.2.20 on 2023-11-01 16:05 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("openzaak", "0027_auto_20231101_1641"), | ||
("openzaak", "0027_zaaktype_resultaattype_config"), | ||
] | ||
|
||
operations = [] |