\NewsTagTest
Unittests for tags.
Tags should be linked to multiple items, but not all, and vice-versa.
- Author: Simon 'Sphere' Erkelens
Synopsis
class NewsTagTest
extends SapphireTest
{
- // members
- protected static string $fixture_file = 'NewsTest.yml';
- // methods
- public void testTag()
- public void testTagURLSegment()
Hierarchy
Extends
- SapphireTest
Members
protected
- $fixture_file
Methods
public
- testTag() — Check if tags are linked correctly.
- testTagURLSegment() — See if the tags get the correct URLSegment.