Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

error on isValid() in tests #166

Open
garak opened this issue Aug 14, 2017 · 0 comments
Open

error on isValid() in tests #166

garak opened this issue Aug 14, 2017 · 0 comments

Comments

@garak
Copy link
Contributor

garak commented Aug 14, 2017

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant