File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
static/app/views/detectors Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ describe('DetectorEdit', () => {
21
21
const organization = OrganizationFixture ( {
22
22
features : [ 'workflow-engine-ui' , 'visibility-explore-view' ] ,
23
23
} ) ;
24
- const project = ProjectFixture ( { organization, environments : [ 'production' ] } ) ;
24
+ const project = ProjectFixture ( { id : '1' , organization, environments : [ 'production' ] } ) ;
25
25
const initialRouterConfig = {
26
26
route : '/organizations/:orgId/issues/monitors/:detectorId/edit/' ,
27
27
location : {
@@ -35,6 +35,12 @@ describe('DetectorEdit', () => {
35
35
ProjectsStore . loadInitialData ( [ project ] ) ;
36
36
37
37
MockApiClient . clearMockResponses ( ) ;
38
+
39
+ MockApiClient . addMockResponse ( {
40
+ url : `/organizations/${ organization . slug } /projects/` ,
41
+ body : [ project ] ,
42
+ } ) ;
43
+
38
44
MockApiClient . addMockResponse ( {
39
45
url : `/organizations/${ organization . slug } /members/` ,
40
46
body : [ ] ,
You can’t perform that action at this time.
0 commit comments