Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
2amjsouza committed Dec 8, 2023
1 parent 2184ebe commit 572e092
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/LaravelQrCodeFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ public function testInvalidQrCodeFormatInvalidClass()

public function testCreateGradientQrCode()
{
//@TODO investigate why tests fail on CI but works properly on local
//@TODO remove file storing once it's done
$foreground = [
'r' => 255,
'g' => 0,
Expand Down Expand Up @@ -79,6 +81,7 @@ public function testCreateGradientQrCode()
Gradient::GRADIENT_RADIAL
)
->writeString();

file_put_contents(codecept_data_dir('blade/qrcode-gradient-radial.png'), $qrCodeRadial);
$uri = file_get_contents(codecept_data_dir('blade/qrcode-gradient-radial.png'));

Expand Down

0 comments on commit 572e092

Please sign in to comment.