X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FFunctional%2FTermCacheTagsTest.php;fp=web%2Fcore%2Fmodules%2Ftaxonomy%2Ftests%2Fsrc%2FFunctional%2FTermCacheTagsTest.php;h=35b7d6bd6e205599b036b876cc1afa714183c589;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php b/web/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php new file mode 100644 index 000000000..35b7d6bd6 --- /dev/null +++ b/web/core/modules/taxonomy/tests/src/Functional/TermCacheTagsTest.php @@ -0,0 +1,42 @@ + 'Camelids', + 'vid' => 'camelids', + ]); + $vocabulary->save(); + + // Create a "Llama" taxonomy term. + $term = Term::create([ + 'name' => 'Llama', + 'vid' => $vocabulary->id(), + ]); + $term->save(); + + return $term; + } + +}