mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-16 16:17:43 +03:00
Prepare tests for running on PHP 8
This commit is contained in:
@@ -18,8 +18,9 @@ class TimestampFirstCombCodecTest extends TestCase
|
||||
*/
|
||||
private $builderMock;
|
||||
|
||||
protected function setUp()
|
||||
protected function set_up()
|
||||
{
|
||||
parent::set_up();
|
||||
$this->builderMock = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock();
|
||||
$this->codec = new TimestampFirstCombCodec($this->builderMock);
|
||||
}
|
||||
|
||||
@@ -18,8 +18,9 @@ class TimestampLastCombCodecTest extends TestCase
|
||||
*/
|
||||
private $builderMock;
|
||||
|
||||
protected function setUp()
|
||||
protected function set_up()
|
||||
{
|
||||
parent::set_up();
|
||||
$this->builderMock = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock();
|
||||
$this->codec = new TimestampLastCombCodec($this->builderMock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user