Skip to content

Commit

Permalink
first try at writing a test
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman committed Mar 29, 2021
1 parent 46587f9 commit 07ee756
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/Unit/Libraries/Cms/Filter/OutputFilterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ public function testStringURLSafe()
OutputFilter::stringURLSafe('`1234567890-=~!@#$%^&*()_+ qwertyuiop[]\QWERTYUIOP{}|asdfghjkl;\'ASDFGHJKL:"zxcvbnm,./ZXCVBNM<>?'),
'Should clean keyboard string down to ASCII-7'
);

$this->assertEquals(
'joomlas-version',
OutputFilter::stringURLSafe('joomla\'s version'),
'Should remove apostrophe from the string'
)
}

/**
Expand Down

0 comments on commit 07ee756

Please sign in to comment.