luthier-ci icon indicating copy to clipboard operation
luthier-ci copied to clipboard

PHPUnit stopped working with Luthier-CI

Open Ihabafia opened this issue 6 years ago • 8 comments

Dear Sir,

Once I installed the Luthier-CI, all the tests of the TDD UnitTest start giving the following error:

1) Welcome_test::test_index
Exception: Serialization of 'Closure' is not allowed

One I comment the Hook information:

$hook = Luthier\Hook::getHooks([
    'modules' => ['auth']
]);

Everything works fine, any suggestion?

Thank you,

Ihabafia avatar Aug 23 '18 21:08 Ihabafia

Any News???

Ihabafia avatar Aug 27 '18 14:08 Ihabafia

Hi!

The unit tests are not being finished yet. we were very busy but the development of this project (and others that we own) will be resumed in a few days. However, these unit tests are meant for the Luthier CI development, not to be used as a PHPUnit bridge for CodeIgniter applications. You can use the kenjis/ci-phpunit-test package for that.

andersonsalas avatar Aug 30 '18 01:08 andersonsalas

I did, but all the tests fails because of the error that I told you about:

1) Welcome_test::test_index
Exception: Serialization of 'Closure' is not allowed

Ihabafia avatar Aug 31 '18 23:08 Ihabafia

Yeah, I've confirmed the error, but it's too early to tell you what's triggering it. At the moment I'll keep this issue open while finding a solution :worried:

andersonsalas avatar Sep 01 '18 17:09 andersonsalas

Nothing yet. I'm still looking for a solution.

andersonsalas avatar Sep 04 '18 14:09 andersonsalas

Is this repo is still being maintained?

yahyaerturan avatar May 08 '19 07:05 yahyaerturan

Is this repo is still being maintained?

Hi @yahyaerturan!. Yes, the repo is still maintained, however, no more features are planned to add for now.

andersonsalas avatar May 08 '19 11:05 andersonsalas

Related to https://github.com/kenjis/ci-phpunit-test/issues/187#event-1118117087

It can be solved by the workaround above.

banqhsia avatar Jun 04 '19 03:06 banqhsia