We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8abb5 commit 764b583Copy full SHA for 764b583
static/app/views/detectors/edit.spec.tsx
@@ -135,7 +135,7 @@ describe('DetectorEdit', () => {
135
const mockUpdateDetector = MockApiClient.addMockResponse({
136
url: `/organizations/${organization.slug}/detectors/${mockDetector.id}/`,
137
method: 'PUT',
138
- body: {detectorId: mockDetector.id, enabled: !mockDetector.enabled},
+ body: {...mockDetector, enabled: !mockDetector.enabled},
139
});
140
141
render(<DetectorEdit />, {organization, initialRouterConfig});
0 commit comments