Giter Site home page Giter Site logo

celery's People

Contributors

jj101k avatar

Watchers

 avatar  avatar

celery's Issues

Nested file input is not parsed correctly

$_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...

Regression: tests failing

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.