Skip to content

Commit

Permalink
fix 🔧 resolve tests failing
Browse files Browse the repository at this point in the history
  • Loading branch information
samar-hassan committed Jan 20, 2024
1 parent 1b77d33 commit 581ccf5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions oscarapi/fixtures/offer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<field type="PositiveIntegerField" name="num_applications">0</field>
<field type="PositiveIntegerField" name="num_orders">0</field>
<field type="CharField" name="redirect_url"/>
<field type="BooleanField" name="exclusive">False</field>
<field type="DateTimeField" name="date_created">2015-11-16T11:08:15.653721+00:00</field>
</object>
<object pk="1" model="offer.benefit">
Expand Down
1 change: 1 addition & 0 deletions oscarapi/fixtures/voucher.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<field type="PositiveIntegerField" name="num_applications">0</field>
<field type="PositiveIntegerField" name="num_orders">0</field>
<field type="CharField" name="redirect_url"></field>
<field type="BooleanField" name="exclusive">False</field>
<field type="DateTimeField" name="date_created">2015-11-27T15:38:48.134807+00:00</field>
</object>
<object pk="2" model="offer.benefit">
Expand Down
1 change: 1 addition & 0 deletions oscarapi/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
`OSCARAPI_`. So :const:`oscarapi.settings.EXPOSE_USER_DETAILS` becomes:
`OSCARAPI_EXPOSE_USER_DETAILS`
"""

from django.contrib.auth import get_user_model
from oscarapi.utils.settings import overridable
from oscarapi import version
Expand Down
1 change: 0 additions & 1 deletion sandbox/settings/sandbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
'django.middleware.common.CommonMiddleware',
'oscarapi.middleware.HeaderSessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
"django.contrib.sessions.middleware.SessionMiddleware",
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
Expand Down

0 comments on commit 581ccf5

Please sign in to comment.