Skip to content

Tests after refactor #13

Closed
Closed

Description

@suncat2000

Hi Henri, I did refactor of bundle, please check your tests.
I can not get them to work.

Activity

  1. suncat2000 commented on Nov 26, 2012

    @suncat2000
    OwnerAuthor

    Henri, you probably are using php 5.4, I think also need to support version of 5.3. Using $this in anonymous functions added in 5.4, if I am not mistaken.

    I did small fix in the test (commit: 5080aeb).
    Now everything is in OK!
    Thanks!

    $ phpunit - c app/phpunit.xml vendor/suncat/mobile-detect-bundle/SunCat/Mobile
    DetectBundle/Tests/
    PHPUnit 3.6.11 by Sebastian Bergmann.
    
    Configuration read from /bla/bla/bla/app/phpunit.xml
    
    .............
    
    Time: 1 second, Memory: 7.75Mb
    
    OK (13 tests, 70 assertions)
  2. HenriVesala commented on Nov 27, 2012

    @HenriVesala
    Contributor

    Sorry my bad. Im indeed using 5.4 and forgot to take that to account.

  3. added a commit that references this issue on Oct 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions