Skip to content

Commit

Permalink
fix DcaUtilTest
Browse files Browse the repository at this point in the history
  • Loading branch information
ericges committed Mar 25, 2024
1 parent a0d3cfd commit 40be021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Util/Dca/DcaUtilTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ public function testExecuteCallback()

$this->assertSame('spam', $instance->executeCallback(function ($value) {
return $value;
}, ['spam']));
}, 'spam'));

$this->assertSame('spam_ham', $instance->executeCallback(
[\HeimrichHannot\UtilsBundle\Util\StringUtil::class, 'camelCaseToSnake'], ['spamHam'])
[\HeimrichHannot\UtilsBundle\Util\StringUtil::class, 'camelCaseToSnake'], 'spamHam')
);

$this->assertNull($instance->executeCallback(null));
Expand Down

0 comments on commit 40be021

Please sign in to comment.