AP
Size: a a a
AP
AP
BO
DT
test(’should be uniqueness', async () => {
try {
const postCreate = await apiClient.post(test_path.create_test(url), postTestRequest(json), {
validateStatus: function (status: any) {
return status === 400;
}
});
} catch (error) {
expect(postCreate.status, 'Response status should be 400').toEqual(400);
})
DT
DT
async post(relativePath: string, body: any, specificHeader?: SpecificHeaderType) {
const path = this.basePath + relativePath;
return await axios.post(path, body, this.processHeaders(specificHeader));
}
VB
M
ФН
ФН
AP
AP
ФН
ФН
ФН
M
AP
B
B
M