Skip to content

Commit af90198

Browse files
committed
Fix flaky other identifier test
1 parent 458002e commit af90198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/factories/media_objects.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@
4242
physical_description { [Faker::Lorem.word] }
4343
table_of_contents { [Faker::Lorem.paragraph] }
4444
note { [{ note: Faker::Lorem.paragraph, type: 'general' }, { note: Faker::Lorem.paragraph, type: 'local' }] }
45-
other_identifier { [{ id: Faker::Lorem.word, source: 'local' }] }
45+
other_identifier { [{ id: Faker::Lorem.unique.word, source: 'local' }] }
4646
language { ['eng'] }
4747
related_item_url { [{ url: Faker::Internet.url, label: Faker::Lorem.sentence }]}
48-
bibliographic_id { { id: Faker::Lorem.word, source: 'local' } }
48+
bibliographic_id { { id: Faker::Lorem.unique.word, source: 'local' } }
4949
comment { ['MO comment'] }
5050
rights_statement { ['http://rightsstatements.org/vocab/InC-EDU/1.0/'] }
5151
terms_of_use { [ 'Terms of Use: Be kind. Rewind.' ] }

0 commit comments

Comments
 (0)