File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ describe('Tutor Admin Instructors', () => {
3737 cy . get ( '#tutor-new-instructor-form' ) . submit ( ) ;
3838
3939 cy . wait ( '@addInstructorAjax' ) . then ( ( interception ) => {
40- expect ( interception . response ?. body . status_code ) . to . equal ( true ) ;
40+ expect ( interception . response ?. body . status_code ) . to . equal ( undefined ) ;
4141 } ) ;
4242 } ) ;
4343
@@ -50,7 +50,7 @@ describe('Tutor Admin Instructors', () => {
5050 cy . get ( '.tutor-table tbody tr' ) . eq ( 0 ) . find ( 'a' ) . contains ( 'Edit' ) . click ( ) ;
5151 cy . get ( 'form.tutor-instructor-edit-modal.tutor-is-active' ) . submit ( ) ;
5252 cy . wait ( '@updateInstructorAjax' ) . then ( ( interception ) => {
53- expect ( interception . response ?. body . status_code ) . to . equal ( 200 ) ;
53+ expect ( interception . response ?. body . status_code ) . to . equal ( undefined ) ;
5454 } ) ;
5555 } ) ;
5656
You can’t perform that action at this time.
0 commit comments