You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- use `pcov` instead of `phpdbg`
- bump minimum PHP version required from 7.1 to 7.2
- upgrade to PHPUnit 8
- bump a few dependencies to make it work with lowest dependencies
* @expectedExceptionMessage Expected instantiator method "Hautelook\AliceBundle\Alice\Generator\Instantiator\Chainable\InstantiatedReferenceInstantiator::instantiate" to be used only if it has a container, but no container could be found.
$this->expectExceptionMessage('Expected instantiator method "Hautelook\AliceBundle\Alice\Generator\Instantiator\Chainable\InstantiatedReferenceInstantiator::instantiate" to be used only if it has a container, but no container could be found.');
100
+
102
101
$fixture = newSimpleFixture(
103
102
'dummy',
104
103
City::class,
@@ -156,12 +155,11 @@ public function testInstantiatesObjectWithFactoryAndArguments()
* @expectedExceptionMessage Instantiated fixture was expected to be an instance of "Dummy". Got "Hautelook\AliceBundle\Functional\TestBundle\Entity\City" instead.
$this->expectExceptionMessage('Instantiated fixture was expected to be an instance of "Dummy". Got "Hautelook\AliceBundle\Functional\TestBundle\Entity\City" instead.');
Copy file name to clipboardExpand all lines: tests/DependencyInjection/HautelookAliceBundleTest.php
+7-9
Original file line number
Diff line number
Diff line change
@@ -34,29 +34,27 @@ class HautelookAliceBundleTest extends TestCase
34
34
/**
35
35
* {@inheritdoc}
36
36
*/
37
-
publicfunctiontearDown()
37
+
publicfunctiontearDown(): void
38
38
{
39
39
if (null !== $this->kernel) {
40
40
$this->kernel->shutdown();
41
41
}
42
42
}
43
43
44
-
/**
45
-
* @expectedException \LogicException
46
-
* @expectedExceptionMessage To register "Hautelook\AliceBundle\HautelookAliceBundle", you also need: "Doctrine\Bundle\DoctrineBundle\DoctrineBundle", "Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle".
$this->expectExceptionMessage('To register "Hautelook\AliceBundle\HautelookAliceBundle", you also need: "Doctrine\Bundle\DoctrineBundle\DoctrineBundle", "Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle".');
$this->expectExceptionMessage('To register "Hautelook\AliceBundle\HautelookAliceBundle", you also need: "Doctrine\Bundle\DoctrineBundle\DoctrineBundle".');
0 commit comments