Skip to content

Commit

Permalink
Add test cases for #2817 & #6985
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Jan 31, 2024
1 parent afc0b64 commit 7909882
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/Feature/Fieldtypes/SlugTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ public function slugProvider()
'single_word' => ['one', '-', 'en', 'one'],
'one-two-three' => ['one two three', '-', 'en', 'one-two-three'],
'apples' => ["Apple's", '-', 'en', 'apples'],
'single_smart_quotes' => ['GTA Online’s latest news: “huge map', '-', 'en', 'gta-onlines-latest-news-huge-map'],
'smart_quotes' => ['Statamic’s latest feature: “Duplicator', '-', 'en', 'statamics-latest-feature-duplicator'],
'highens_separated_by_spaces' => ['Block - Hero', '-', 'en', 'block-hero'],
'chinese_characters' => ['你好,世界', '-', 'ch', 'ni-hao-shi-jie'],
'german_characters' => ['Björn Müller', '-', 'de', 'bjoern-mueller'],
];
}
}

0 comments on commit 7909882

Please sign in to comment.