mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +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->username = 'baz';
|
||||
|
||||
$this->assertInstanceOf('DesignPatterns\Structural\Proxy\Record', $recordProxy);
|
||||
$this->assertInstanceOf(RecordProxy::class, $recordProxy);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user