Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: fix PHPUNIT #5907

Merged
merged 19 commits into from
Oct 30, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove copied WebTestCase to fix 8.1 dev
PR symfony/symfony#32207 got merged
vasilvestre committed Oct 20, 2023
commit 944eb9fdbcc01a0bb3ceb4e1ed64d33b7ff0ffee
1 change: 0 additions & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -258,7 +258,6 @@ parameters:
- src/Symfony/Bundle/Test/Constraint/ArraySubsetLegacy.php
# Imported code (temporary)
- src/Symfony/Bundle/Test/BrowserKitAssertionsTrait.php
- tests/Symfony/Bundle/Test/WebTestCaseTest.php
- tests/Core/ProphecyTrait.php
- tests/Core/Behat/CoverageContext.php
- tests/Core/Behat/DoctrineContext.php
Original file line number Diff line number Diff line change
@@ -100,7 +100,7 @@ public function testOnFlush()
$propertyAccessorProphecy = $this->prophesize(PropertyAccessorInterface::class);
$propertyAccessorProphecy->isReadable(Argument::type(Dummy::class), 'relatedDummy')->willReturn(true);
$propertyAccessorProphecy->isReadable(Argument::type(Dummy::class), 'relatedOwningDummy')->willReturn(false);
$propertyAccessorProphecy->getValue(Argument::type(Dummy::class), 'relatedDummy')->shouldBeCalled();
$propertyAccessorProphecy->getValue(Argument::type(Dummy::class), 'relatedDummy')->willReturn($toInsert2)->shouldBeCalled();
$propertyAccessorProphecy->getValue(Argument::type(Dummy::class), 'relatedOwningDummy')->shouldNotBeCalled();

$listener = new PurgeHttpCacheListener($purgerProphecy->reveal(), $iriConverterProphecy->reveal(), $resourceClassResolverProphecy->reveal(), $propertyAccessorProphecy->reveal());
227 changes: 0 additions & 227 deletions tests/Symfony/Bundle/Test/WebTestCaseTest.php

This file was deleted.