Commit b8097224 authored by 박관영's avatar 박관영

Add UTF-8 Slug test for Tag Module

parent 94e45709
......@@ -132,6 +132,14 @@ class TaggableTraitTest extends BaseTestCase
$this->assertCount(3, Page::allTags()->get());
}
/** @test */
public function it_gets_pages_with_non_latin_tags()
{
$this->createPage(['한글 태그']);
$this->assertCount(1, Page::whereTag(['한글-태그'])->get());
}
private function createPage(array $tags = [])
{
return $this->page->create([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment