Author: jwage
Date: 2008-08-26 00:39:33 +0100 (Tue, 26 Aug 2008)
New Revision: 4812
Modified:
branches/1.0/lib/Doctrine/Manager.php
branches/1.0/tests/ConfigurableTestCase.php
Log:
Turning portability off by default.
Modified: branches/1.0/lib/Doctrine/Manager.php
===================================================================
--- branches/1.0/lib/Doctrine/Manager.php 2008-08-25 23:37:32 UTC (rev
4811)
+++ branches/1.0/lib/Doctrine/Manager.php 2008-08-25 23:39:33 UTC (rev
4812)
@@ -96,7 +96,7 @@
Doctrine::ATTR_TBLNAME_FORMAT => "%s",
Doctrine::ATTR_QUOTE_IDENTIFIER => false,
Doctrine::ATTR_SEQCOL_NAME => 'id',
- Doctrine::ATTR_PORTABILITY =>
Doctrine::PORTABILITY_ALL,
+ Doctrine::ATTR_PORTABILITY =>
Doctrine::PORTABILITY_NONE,
Doctrine::ATTR_EXPORT =>
Doctrine::EXPORT_ALL,
Doctrine::ATTR_DECIMAL_PLACES => 2,
Doctrine::ATTR_DEFAULT_PARAM_NAMESPACE => 'doctrine',
Modified: branches/1.0/tests/ConfigurableTestCase.php
===================================================================
--- branches/1.0/tests/ConfigurableTestCase.php 2008-08-25 23:37:32 UTC (rev
4811)
+++ branches/1.0/tests/ConfigurableTestCase.php 2008-08-25 23:39:33 UTC (rev
4812)
@@ -113,7 +113,7 @@
$this->manager->setAttribute(Doctrine::ATTR_VALIDATE, false);
}
public function testDefaultPortabilityAttributeValueIsAll() {
-
$this->assertEqual($this->manager->getAttribute(Doctrine::ATTR_PORTABILITY),
Doctrine::PORTABILITY_ALL);
+
$this->assertEqual($this->manager->getAttribute(Doctrine::ATTR_PORTABILITY),
Doctrine::PORTABILITY_NONE);
}
public function testPortabilityAttributeAcceptsPortabilityConstants() {
$this->manager->setAttribute(Doctrine::ATTR_PORTABILITY,
Doctrine::PORTABILITY_RTRIM | Doctrine::PORTABILITY_FIX_CASE);
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---