Prepare tests for running on PHP 8

This commit is contained in:
Ben Ramsey
2021-09-23 13:58:48 -05:00
parent e2ec78e3d9
commit c9ed6dd82f
25 changed files with 189 additions and 169 deletions
@@ -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);
}
+2 -1
View File
@@ -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);
}