Skip to content

Commit 7cad70d

Browse files
committed
Make tests green again
1 parent 6c14301 commit 7cad70d

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

src/Symfony/Component/Cache/Traits/RelayProxy.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,11 @@ public function bitcount($key, $start = 0, $end = -1, $by_bit = false): \Relay\R
456456
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitcount(...\func_get_args());
457457
}
458458

459+
public function bitfield($key, ...$args): \Relay\Relay|array|false
460+
{
461+
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->bitfield(...\func_get_args());
462+
}
463+
459464
public function config($operation, $key = null, $value = null): \Relay\Relay|array|bool
460465
{
461466
return ($this->lazyObjectState->realInstance ??= ($this->lazyObjectState->initializer)())->config(...\func_get_args());

src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridSignedRequestParserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
/**
2121
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
22+
*
23+
* @requires extension openssl
2224
*/
2325
class SendgridSignedRequestParserTest extends AbstractRequestParserTestCase
2426
{

src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridWrongSecretRequestParserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
23+
*
24+
* @requires extension openssl
2325
*/
2426
class SendgridWrongSecretRequestParserTest extends AbstractRequestParserTestCase
2527
{

src/Symfony/Component/Mailer/Bridge/Sendgrid/Tests/Webhook/SendgridWrongSignatureRequestParserTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020

2121
/**
2222
* @author WoutervanderLoop.nl <info@woutervanderloop.nl>
23+
*
24+
* @requires extension openssl
2325
*/
2426
class SendgridWrongSignatureRequestParserTest extends AbstractRequestParserTestCase
2527
{

src/Symfony/Component/Process/Tests/Messenger/RunProcessMessageHandlerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testRunFailedProcess()
3333
(new RunProcessMessageHandler())(new RunProcessMessage(['invalid']));
3434
} catch (RunProcessFailedException $e) {
3535
$this->assertSame(['invalid'], $e->context->command);
36-
$this->assertSame(127, $e->context->exitCode);
36+
$this->assertSame('\\' === \DIRECTORY_SEPARATOR ? 1 : 127, $e->context->exitCode);
3737

3838
return;
3939
}

src/Symfony/Component/VarDumper/Tests/Dumper/CliDumperTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,10 @@ public function testDumpArrayWithColor($value, $flags, $expectedOut)
460460

461461
public function testCollapse()
462462
{
463+
if ('\\' === \DIRECTORY_SEPARATOR) {
464+
$this->markTestSkipped('This test cannot be run on Windows.');
465+
}
466+
463467
$stub = new Stub();
464468
$stub->type = Stub::TYPE_OBJECT;
465469
$stub->class = 'stdClass';

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy