Skip to content

Commit 4441a32

Browse files
authored
Fix unittest: migration from 0158 to 0160 (DefectDojo#6234)
1 parent c299a5b commit 4441a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/test_migrations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def prepare(self):
359359
def test_broken_eps(self):
360360
Finding = self.new_state.apps.get_model('dojo', 'Finding')
361361
Endpoint = self.new_state.apps.get_model('dojo', 'Endpoint')
362-
Endpoint_Status = self.old_state.apps.get_model('dojo', 'Endpoint_Status')
362+
Endpoint_Status = self.new_state.apps.get_model('dojo', 'Endpoint_Status')
363363

364364
with self.subTest('Stadnard eps for finding'):
365365
f = Finding.objects.filter(id=self.finding)

0 commit comments

Comments
 (0)