Skip to content

Commit

Permalink
Merge pull request #11599 from qmonmert/typo171224
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
murdos authored Dec 17, 2024
2 parents 9a0d495 + 6a09709 commit 5700169
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/test/webapp/unit/module/domain/Modules.fixture.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export const projectHistoryWithInit = (): ProjectHistory => ({
});

const appliedModuleProperties = (): ModulePropertyValue[] => {
return [{ key: 'baseName', value: 'settedbase' }];
return [{ key: 'baseName', value: 'setbase' }];
};

export const defaultProject = (): Project => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ describe('Landscape', () => {
expect(message).toBe('Modules applied');
});

it('should remove setted boolean parameter', async () => {
it('should remove set boolean parameter', async () => {
const wrapper = await componentWithLandscape();

await clickModule('maven', wrapper);
Expand Down Expand Up @@ -728,7 +728,7 @@ describe('Landscape', () => {
await updatePath(wrapper);

const baseNameField = wrapper.find(wrappedElement('parameter-baseName-field')).element as HTMLInputElement;
expect(baseNameField.value).toBe('settedbase');
expect(baseNameField.value).toBe('setbase');

const initClasses = wrapper.find(wrappedElement('init-module')).classes();
expect(initClasses).toContain('-selected');
Expand Down Expand Up @@ -761,7 +761,7 @@ describe('Landscape', () => {
expect(wrapper.find(wrappedElement('init-module')).exists()).toBe(true);
});

it('should not replace user setted properties from history', async () => {
it('should not replace user set properties from history', async () => {
const modules = repositoryWithLandscape();
const wrapper = wrap({ modules });
await flushPromises();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ describe('Modules', () => {
expect(wrapper.find(wrappedElement('module-spring-cucumber-application-button')).attributes('disabled')).toBeUndefined();
});

it('should display setted properties', async () => {
it('should display set properties', async () => {
const wrapper = await componentWithModules();
await selectModule(wrapper);

Expand Down Expand Up @@ -491,10 +491,10 @@ describe('Modules', () => {
await updatePath(wrapper);

const baseNameField = wrapper.find(wrappedElement('parameter-baseName-field')).element as HTMLInputElement;
expect(baseNameField.value).toBe('settedbase');
expect(baseNameField.value).toBe('setbase');
});

it('It should not override setted properties', async () => {
it('It should not override set properties', async () => {
const modules = repositoryWithModules();
modules.history.resolves(defaultProjectHistory());
const wrapper = await filledModuleForm(modules);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const restModuleHistory = (): RestProjectHistory => ({
properties: appliedModuleProperties(),
});

const appliedModuleProperties = (): {} => ({ baseName: 'settedbase' });
const appliedModuleProperties = (): {} => ({ baseName: 'setbase' });

const restModuleProperties = (): RestModulePropertiesDefinitions => ({
definitions: [
Expand Down

0 comments on commit 5700169

Please sign in to comment.