File tree 1 file changed +0
-14
lines changed
1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -67,13 +67,6 @@ describe('Prescriptions router', () => {
67
67
. expect ( constants . HTTP_STATUS_BAD_REQUEST ) ;
68
68
} ) ;
69
69
70
- it ( 'should fail if the user does not have the permission to read prescriptions' , async ( ) => {
71
- await request ( app )
72
- . get ( testRoute ( programmingPlanInProgress . id ) )
73
- . use ( tokenProvider ( sampler ) )
74
- . expect ( constants . HTTP_STATUS_FORBIDDEN ) ;
75
- } ) ;
76
-
77
70
it ( 'should find the prescriptions of the programmingPlan' , async ( ) => {
78
71
const res = await request ( app )
79
72
. get ( testRoute ( programmingPlanInProgress . id ) )
@@ -104,13 +97,6 @@ describe('Prescriptions router', () => {
104
97
. expect ( constants . HTTP_STATUS_BAD_REQUEST ) ;
105
98
} ) ;
106
99
107
- it ( 'should fail if the user does not have the permission to read prescriptions' , async ( ) => {
108
- await request ( app )
109
- . get ( testRoute ( programmingPlanInProgress . id ) )
110
- . use ( tokenProvider ( sampler ) )
111
- . expect ( constants . HTTP_STATUS_FORBIDDEN ) ;
112
- } ) ;
113
-
114
100
it ( 'should export the prescriptions of the programmingPlan' , async ( ) => {
115
101
await request ( app )
116
102
. get ( testRoute ( programmingPlanInProgress . id ) )
You can’t perform that action at this time.
0 commit comments