jj101k / celery Goto Github PK
View Code? Open in Web Editor NEWA lightweight PHP Slim-like PSR-7 framework
License: BSD 2-Clause "Simplified" License
A lightweight PHP Slim-like PSR-7 framework
License: BSD 2-Clause "Simplified" License
PHPUnit 7.5.9 by Sebastian Bergmann and contributors.
..........FFFF. 15 / 15 (100%)
Time: 113 ms, Memory: 4.00 MB
There were 4 failures:
1) AppTest::testHandlers
GET /a: as expected
Failed asserting that null is identical to Array &0 (
'method' => 'any'
'args' => Array &1 ()
).
/Users/jimdriscoll/Public/celery/test/04-appTest.php:93
2) AppTest::testHelloWorld
Simple body worked as expected
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'Hello world'
+'Not found'
/Users/jimdriscoll/Public/celery/test/04-appTest.php:168
3) AppTest::testConfig
errorHandler: works
Failed asserting that two arrays are identical.
--- Expected
+++ Actual
@@ @@
Array &0 (
- 'type' => 'exception'
+ 'type' => 'notfound'
)
/Users/jimdriscoll/Public/celery/test/04-appTest.php:254
4) AppTest::testNoConfig
errorHandler (default): produces 500 error
Failed asserting that 'HTTP/1.1 404 Not Found' matches PCRE pattern "#^HTTP/1.1 500#".
/Users/jimdriscoll/Public/celery/test/04-appTest.php:330
FAILURES!
Tests: 15, Assertions: 48, Failures: 4.
$ php test/sample.php Celery\\App; echo
[]
$ php test/sample.php Slim\\App; echo
{"type":"notallowed","methods":["GET"]}
$
Oops
It was always intended that bodies would stream.
They do not.
Oops.
Not sure how this happened, but there is nothing that uses withParsedBody()
and nothing which assigns to its backing store.
$_FILES
:
Array
(
[bar] => Array
(
[name] => Array
(
[baz] => Array
(
[0] =>
)
)
[type] => Array
(
[baz] => Array
(
[0] =>
)
)
[tmp_name] => Array
(
[baz] => Array
(
[0] =>
)
)
[error] => Array
(
[baz] => Array
(
[0] => 4
)
)
[size] => Array
(
[baz] => Array
(
[0] => 0
)
)
)
)
getUploadedFiles()
:
Array
(
[bar] => Celery\UploadedFile Object
...GARBAGE...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.