Skip to content

error on isValid() in tests #166

Open
@garak

Description

@garak

Given this simple test:

<?php
include dirname(__FILE__).'/../../bootstrap/functional.php';
$browser = new sfTestFunctional(new sfBrowser());
$browser->
  info('about page')->
  get('/about')->
  with('request')->begin()->
    isParameter('module', 'about')->
    isParameter('action', 'index')->
  end()->
  with('response')->begin()->
    isStatusCode(200)->
    checkElement('title', '/About/')->
    isValid(true)->
  end()
;

I'm getting the following errors

failed to load external entity "file:/[project]/cache/sf_tester_response/w3/TR/xhtml1/DTD/xhtml-symbol.ent"`
failed to load external entity "file:/[project]/cache/sf_tester_response/w3/TR/xhtml1/DTD/xhtml-special.ent"`

when the test is trying the isValid(true)

I checked the path, the files mentioned in errors are there

Metadata

Metadata

Assignees

No one assigned

    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