Skip to content

Commit ba61fcc

Browse files
fixed testcase incrementation
1 parent c65093e commit ba61fcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/api/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,7 @@ def create_testcase_bg(*args, **kwargs) -> None:
13991399
for site in sites:
14001400

14011401
# check and increment resource
1402-
if check_and_increment_resource(site.account, 'testcase'):
1402+
if check_and_increment_resource(site.account, 'testcases'):
14031403

14041404
# create new testcase
14051405
_testcase = Testcase.objects.create(

0 commit comments

Comments
 (0)