kenny95h / TraineeTrackerTestFramework

1 stars 2 forks source link

API 1.1 Create a course - Trainer #97

Open kenny95h opened 1 year ago

kenny95h commented 1 year ago

Summary of Defect: Trainers should not be allowed to create courses

Expected Result: 403 status code

Actual Result: 201 status code

Defect Description: Trainer logs in to API with trainer credentials Execute request to create course with valid details ("Engineering121,2022-08-18T00:00:00,8,Charlie,Batten,Mr.,cb@spartaglobal.com,Trainer") Status code is returned (201)

Further Comment: Authorisation has not been set up correctly

yusufkabir commented 1 year ago

DIFFERENT DEFECT IDENTIFIED : You can't currently log in as a trainer.