So, it would seem PhpED loses my class the moment I put it into a namespace.
This file, PhpED locates it within the Test Suite:
<?php
/**
* User test case.
*/
require_once 'ControllerTestCase.php';
class UserTest extends \ControllerTestCase
{
public function testAssertDoTest()
{
$this->assertTrue(true);
}
}
|
But the moment I add "namespace Models;" to the top, Test Suite fails to locate the class:
<?php
/**
* User test case.
*/
namespace Models;
require_once 'ControllerTestCase.php';
class UserTest extends \ControllerTestCase
{
public function testAssertDoTest()
{
$this->assertTrue(true);
}
}
|