Comments (2)
Также есть проблема с методом arrayHasArray() в REST модуле. array_intersect не поддерживает проверку вложенных массивов и пытается их тайпкастнуть к стрингу, что в итоге ведет к:
Exception thrown ErrorException:
8 Array to string conversion
Stack trace:
#1 Codeception\Subscriber{closure} :
#2 array_intersect D:\server\pear\pear\Codeception\src\Codeception\Module\REST.php:207
#3 arrayHasArray D:\server\pear\pear\Codeception\src\Codeception\Module\REST.php:202If it's a Codeception bug, please report it to GitHub
Мне помогло: заменить array_intersect() на array_intersect_assoc()
from codeception.
Ок. Спасибо. По REST модулю у меня сейчас нет готового проекта для тестирования. Я пока его только юнит-тестами покрыл. Потому пока нет возможности узнать о реальных багах и реальном использовании.
Так что любые патчи приветствуются.
Если ещё что-то будет, стучись в скайп: davert.ua
Попробуем разобраться и по возможности быстро исправить
from codeception.
Related Issues (20)
- Database not available after pressing ctrl-c early in a codecept run
- PHPUnit 10.3 incompatibility - Access of private method HOT 4
- PHPUnit 10.3 Generator namespace changed.
- Inconsistent Results between `find` and `grabFromDatabase` HOT 1
- XML report not working - PHPUnit change causing break? HOT 2
- PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead HOT 1
- Use shard option during tests with dataProvider
- How to Allow Self-signed Certificate with PhpBrowser?
- link is not working
- [Rest] Test fails with error when endpoint responds with 403 - The annotation "@part" in method Codeception\Module\REST::haveHttpHeader() was never imported HOT 3
- @testdox annotation not working for test descriptions
- Assert JSON structure/schema in Unit/Integration test HOT 1
- Error when running tests after upgrading from version 4 to 5 HOT 2
- Codeception 5.0.11 is incompatible to PHPUnit 10.4 HOT 1
- At event RESULT_PRINT_AFTER - Codeception 5 - file report.htlm is not exist yet HOT 6
- Feature file does not recognize an implemented step
- Test run in headless chrome is not working HOT 2
- I am unable to upgrade Codeception from 4.2 to 5.0+ HOT 1
- Out of memory issue with PHPUnit 10.4.1 HOT 4
- Code coverage stopped working after upgrading 4 to 5 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeception.