Skip to content

Commit 3e9bf8c

Browse files
committed
fix test
1 parent d8e32c1 commit 3e9bf8c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/sentry/api/endpoints/test_group_autofix_setup_check.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def setUp(self):
3131
source_root="sentry/",
3232
)
3333
self.organization.update_option("sentry:gen_ai_consent_v2024_11_14", True)
34+
self.organization.update_option("sentry:autofix_enabled", True)
3435

3536
@patch(
3637
"sentry.api.endpoints.group_autofix_setup_check.get_repos_and_access",
@@ -82,6 +83,9 @@ def test_successful_setup(self, mock_update_codebase_index, mock_get_repos_and_a
8283
"codebaseIndexing": {
8384
"ok": True,
8485
},
86+
"autofixEnabled": {
87+
"ok": True,
88+
},
8589
}
8690

8791
@with_feature("organizations:autofix-disable-codebase-indexing")
@@ -137,6 +141,9 @@ def test_successful_with_codebase_indexing_disabled_flag(
137141
"codebaseIndexing": {
138142
"ok": True,
139143
},
144+
"autofixEnabled": {
145+
"ok": True,
146+
},
140147
}
141148

142149

0 commit comments

Comments
 (0)