Merge "Error should be reported when only a space is entered"

This commit is contained in:
Zuul 2019-02-04 05:53:29 +00:00 committed by Gerrit Code Review
commit dcbd701bef
2 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@
];
function createContainer() {
var model = {name: '', public: false};
var model = {public: false};
var config = {
title: gettext('Create Container'),
schema: createContainerSchema,

View File

@ -206,7 +206,7 @@
// when the modal is resolved, make sure create is called
deferred.resolve();
$rootScope.$apply();
expect(ctrl.createContainerAction).toHaveBeenCalledWith({name: '', public: false});
expect(ctrl.createContainerAction).toHaveBeenCalledWith({public: false});
});
it('should check for container existence - with presence', function test() {