Skip to content

Instantly share code, notes, and snippets.

@norv
norv / gist:2927930
Created June 14, 2012 04:04 — forked from mikemill/gist:2927915
Initial attempt at testing the user class. Still need to test user settings
<?php
namespace JawHare;
class UserTest extends \PHPUnit_Framework_TestCase
{
static protected $user;
protected $user_data = array(
'username' => 'PHPUnitTest',
'fullname' => 'PHP Unit Testing',