Skip to content

Commit

Permalink
Fix the mocked subject set index fields
Browse files Browse the repository at this point in the history
  • Loading branch information
eatyourgreens committed Oct 25, 2024
1 parent f15fc8f commit e8ee482
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Components > Subject Picker', function () {
const dataTable = screen.getByRole('table')
const [ tableHeader, tableContent ] = within(dataTable).getAllByRole('rowgroup')
columnHeadings = within(tableHeader).getByRole('row', {
name: 'subject_id date FormSearch title FormSearch creators FormSearch status'
name: 'subject_id date FormSearch page FormSearch status'
})
const subjects = [
'23 January 1916',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Default.args = {
id: '15582',
display_name: 'Anti-Slavery Letters: 1800-1839',
metadata: {
indexFields: 'date,title,creators'
indexFields: 'date,page'
}
},
workflow: {
Expand All @@ -86,7 +86,7 @@ Tablet.args = {
id: '15582',
display_name: 'Anti-Slavery Letters: 1800-1839',
metadata: {
indexFields: 'date,title,creators'
indexFields: 'date,page'
}
},
workflow: {
Expand Down

0 comments on commit e8ee482

Please sign in to comment.