We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 3ff67b3b authored by Brenda Wallace's avatar Brenda Wallace

beginning of hashtag tests

parent eceffc4c
if (isset($_SERVER) && array_key_exists('REQUEST_METHOD', $_SERVER)) {
print "This script must be run from the command line\n";
define('INSTALLDIR', realpath(dirname(__FILE__) . '/..'));
define('LACONICA', true);
require_once INSTALLDIR . '/lib/common.php';
class HashTagDetectionTest extends PHPUnit_Framework_TestCase
* @dataProvider provider
public function testProduction($content, $expected)
$rendered = common_render_text($content);
$this->assertEquals($expected, $rendered);
static public function provider()
return array(
'<a href="/tag/hello">hello</a>'),
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