sixty-nine / DrupalTesting

PHPUnit with Drupal 7
4 stars 6 forks source link

Self-tests not working #11

Closed sixty-nine closed 10 years ago

sixty-nine commented 10 years ago

Hi @andreiashu,

After a long time not working on the project today I was trying to get into it again. First thing I did is to try to run the self-tests against a clean Drupal 7.15 with

phpunit -c .

And I have a lot of errors, namespace stuff (in DrupalConnector, line 125 you use \DrupalInMemoryCache, yet the class resides in a namespace), non-existent stuff (in DrupalInMemoryCache, line 155 you get $data->cid, yet there is no cid prop in the returned data).

Are you aware of those problems?

Meanwhile I'll try to fix stuff..

sixty-nine commented 10 years ago

The second error might be related with my (not latest) version of Drupal. Which version do you use?

andreiashu commented 10 years ago

Hey Dan,

It might be related with the #8 PR... I'll have a look

andreiashu commented 10 years ago

@sixty-nine I've opened a PR for this issue: #12