@@ -61,9 +61,7 @@ def mock_webhook_secret(self, mocker):
6161
6262 @pytest .fixture (autouse = True )
6363 def mock_ai_features_app_id (self , mocker ):
64- mock_config_helper (
65- mocker , configs = {"github.ai_features_app_id" : AI_FEATURES_GH_APP_ID }
66- )
64+ mock_config_helper (mocker , configs = {"github.ai_features_app_id" : 9999 })
6765
6866 @pytest .fixture (autouse = True )
6967 def mock_default_app_id (self , mocker ):
@@ -1456,7 +1454,7 @@ def test_check_codecov_ai_auto_enabled_reviews_enabled(self):
14561454 },
14571455 },
14581456 },
1459- app_id = AI_FEATURES_GH_APP_ID ,
1457+ app_id = 9999 ,
14601458 )
14611459 assert response .data == {"auto_review_enabled" : True }
14621460
@@ -1478,7 +1476,7 @@ def test_check_codecov_ai_auto_enabled_reviews_disabled(self):
14781476 "owner" : {"id" : org_with_ai_disabled .service_id },
14791477 },
14801478 },
1481- app_id = AI_FEATURES_GH_APP_ID ,
1479+ app_id = 9999 ,
14821480 )
14831481 assert response .data == {"auto_review_enabled" : False }
14841482
@@ -1498,7 +1496,7 @@ def test_check_codecov_ai_auto_enabled_reviews_no_config(self):
14981496 "owner" : {"id" : org_with_no_config .service_id },
14991497 },
15001498 },
1501- app_id = AI_FEATURES_GH_APP_ID ,
1499+ app_id = 9999 ,
15021500 )
15031501 assert response .data == {"auto_review_enabled" : False }
15041502
@@ -1520,6 +1518,6 @@ def test_check_codecov_ai_auto_enabled_reviews_partial_config(self):
15201518 "owner" : {"id" : org_with_partial_config .service_id },
15211519 },
15221520 },
1523- app_id = AI_FEATURES_GH_APP_ID ,
1521+ app_id = 9999 ,
15241522 )
15251523 assert response .data == {"auto_review_enabled" : False }
0 commit comments