Skip to content

Conversation

@paulbalandan
Copy link
Member

Description
Fixes #7469

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@paulbalandan paulbalandan added the bug Verified issues on the current code behavior or pull requests that will fix them label May 2, 2023
@kenjis
Copy link
Member

kenjis commented May 2, 2023

@paulbalandan The test fails on macOS.

$ vendor/bin/phpunit tests/system/Commands/CellGeneratorTest.php
PHPUnit 9.6.7 by Sebastian Bergmann and contributors.

Runtime:       PHP 8.1.18
Configuration: /Users/kenji/work/codeigniter/official/CodeIgniter4/phpunit.xml

.F                                                                                                                                         2 / 2 (100%)

Time: 00:00.095, Memory: 16.00 MB

There was 1 failure:

1) CodeIgniter\Commands\CellGeneratorTest::testGenerateCellSimpleName
Failed asserting that 'File created: APPPATH/Cells/Another.php\n
\n
File exists: "APPPATH/Cells/another.php"\n
\n
' contains "File created: APPPATH/Cells/another.php".

/Users/kenji/work/codeigniter/official/CodeIgniter4/tests/system/Commands/CellGeneratorTest.php:78

FAILURES!
Tests: 2, Assertions: 10, Failures: 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Verified issues on the current code behavior or pull requests that will fix them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: spark make:cell doesn't create view file properly

2 participants