Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafael Klynger committed Jan 21, 2020
1 parent 3ab0dfb commit d88dfe4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]
### Added
- Some props to the schema of the shelf.
- `arrows`, `autoplay`, `nativationStep`, `titleText`, `showTitle`, `itemsPerPage`, `minItemsPerPage` and `gap` props to the schema of the Shelf.

## [1.34.1] - 2020-01-14
### Fixed
Expand Down
2 changes: 1 addition & 1 deletion messages/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"admin/editor.shelf-properties.items-per-page.title": "Itens por janela do slide",
"admin/editor.shelf-properties.items-per-page.description": "A quantidade de itens que devem estar na tela ao mesmo tempo",
"admin/editor.shelf-properties.arrows.title": "Mostrar setas",
"admin/editor.shelf-properties.arrows.description": "Se deve exibir as setas para controlar a vitrine",
"admin/editor.shelf-properties.arrows.description": "Se deveria exibir as setas para controlar a vitrine",
"admin/editor.shelf-properties.autoplay.title": "Reprodução automática",
"admin/editor.shelf-properties.autoplay.description": "Se deveria passar os slides automaticamente",
"admin/editor.shelf-properties.navigation-step.title": "Passo de navegação",
Expand Down
4 changes: 2 additions & 2 deletions react/__test__/Shelf.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ describe('Shelf component', () => {
showTitle: true,
}

const titleTextId = Shelf.schema.properties.title.default
const wrapper = render(<ProductList titleText={titleTextId} {...props} {...customProps} />)
const titleText = 'store/shelf.title'
const wrapper = render(<ProductList titleText={titleText} {...props} {...customProps} />)
return wrapper
}

Expand Down

0 comments on commit d88dfe4

Please sign in to comment.