mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-02 21:17:29 +02:00
Use class constant instead of hardcoded namespace
This commit is contained in:
@@ -19,6 +19,6 @@ class ProxyTest extends \PHPUnit_Framework_TestCase
|
|||||||
$recordProxy = new RecordProxy([]);
|
$recordProxy = new RecordProxy([]);
|
||||||
$recordProxy->username = 'baz';
|
$recordProxy->username = 'baz';
|
||||||
|
|
||||||
$this->assertInstanceOf('DesignPatterns\Structural\Proxy\Record', $recordProxy);
|
$this->assertInstanceOf(RecordProxy::class, $recordProxy);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user