mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Fix test after removing error reporting
This commit is contained in:
parent
3df8e74bc8
commit
001583b308
@ -80,7 +80,7 @@ describe('Settings endpoints', () => {
|
||||
it('Should be able to get all settings with filters A', function() {
|
||||
cy.task('backendApiGet', {
|
||||
token: token,
|
||||
path: '/api/settings?sort=name&name:starts=e&limit=1'
|
||||
path: '/api/settings?id:in=1,2,3,4,5&limit=1'
|
||||
}).then((data) => {
|
||||
cy.validateSwaggerSchema('get', 200, '/settings', data);
|
||||
expect(data).to.have.property('result');
|
||||
@ -90,18 +90,6 @@ describe('Settings endpoints', () => {
|
||||
});
|
||||
|
||||
it('Should be able to get all settings with filters B', function() {
|
||||
cy.task('backendApiGet', {
|
||||
token: token,
|
||||
path: '/api/settings?id:in=1,2,3,4,5&limit=1'
|
||||
}).then((data) => {
|
||||
cy.validateSwaggerSchema('get', 200, '/settings', data);
|
||||
expect(data).to.have.property('result');
|
||||
expect(data.result).to.have.property('items');
|
||||
expect(data.result.items.length).to.be.greaterThan(0);
|
||||
});
|
||||
});
|
||||
|
||||
it('Should be able to get all settings with filters C', function() {
|
||||
cy.task('backendApiGet', {
|
||||
token: token,
|
||||
path: '/api/settings?name:starts=xxxxxxxxxxxxxxx'
|
||||
|
Loading…
Reference in New Issue
Block a user