diff --git a/tests/ULIDGeneratorTest.php b/tests/ULIDGeneratorTest.php index bb00f3a..081c8e3 100644 --- a/tests/ULIDGeneratorTest.php +++ b/tests/ULIDGeneratorTest.php @@ -18,7 +18,7 @@ public function it_generates_an_ulid() $entity = new \stdClass(); $generated = $generator->generate($em, $entity); $this->assertEquals('string', gettype($generated)); - $this->assertRegExp('/[0-9][A-Z]/', $generated); + $this->assertMatchesRegularExpression('/[0-9][A-Z]/', $generated); $this->assertEquals(26, strlen($generated)); } /**