Skip to content

behat: save verb with regex wrong, missing version checks, needs remote dbhost support #3832

@diablodale

Description

@diablodale

retrofitting behat fixes from my repro

  • the regex for the behat save verb will technically work but is very poor looking. I added needed whitespace without breaking backwards compat if someone did like the Idonthavewhitespacebetweenthings approach.
  • added function to be able to check x.x.x version numbers and then added a behat verb to enable using the function
  • added the ability to define a remote db host to use rather than the default (127.0.0.1). It now checks for the RESTFUL_TEST_DBHOST environment variable and uses that host if defined.

None of these fixes break compatibility. They silently enhance the test suite.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions