Skip to content
Browse files

Removing need to create temp dir.

  • Loading branch information...
1 parent 830a493 commit dcd9f78bbe1236abbeab7cbe35cadfb24de8d078 @jwage jwage committed Feb 26, 2011
Showing with 1 addition and 2 deletions.
  1. +0 −1 README.md
  2. +1 −1 tests/Doctrine/Tests/Common/DataFixtures/BaseTest.php
View
1 README.md
@@ -136,5 +136,4 @@ To setup and run tests follow these steps:
- run: **git submodule update**
- go to tests directory: **cd tests**
- copy the phpunit config **cp phpunit.dist.xml phpunit.xml**
-- make temp dir for proxies **mkdir Doctrine/Common/DataFixtures/temp**
- run: **phpunit**
View
2 tests/Doctrine/Tests/Common/DataFixtures/BaseTest.php
@@ -119,7 +119,7 @@ protected function getMockSqliteEntityManager()
$config = $this->getMock('Doctrine\ORM\Configuration');
$config->expects($this->once())
->method('getProxyDir')
- ->will($this->returnValue(__DIR__ . '/temp'));
+ ->will($this->returnValue(sys_get_temp_dir()));
$config->expects($this->once())
->method('getProxyNamespace')

0 comments on commit dcd9f78

Please sign in to comment.
Something went wrong with that request. Please try again.