Commit a18569e
test(integrations): Remove vacuous missing-integration test
The test_missing_integration_filtered_from_response test never exercised the
None-filtering logic it claimed to test. The Integration foreign key uses
CASCADE on_delete, so deleting the Integration also cascade-deleted the
OrganizationIntegration row, leaving zero results for the queryset. Even
bypassing CASCADE, the queryset's integration__status JOIN would exclude
orphaned rows. The test passed vacuously regardless of whether the fix
existed.
The remaining test_serialization_error_filtered_from_response properly
exercises the None-filtering by triggering a real exception in _serialize.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2a2852a commit a18569e
File tree
1 file changed
+0
-14
lines changed- tests/sentry/integrations/api/endpoints
1 file changed
+0
-14
lines changedLines changed: 0 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | 76 | | |
91 | 77 | | |
92 | 78 | | |
| |||
0 commit comments