mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fixed some spelling mistakes that were causing errors when running tests via SapphireTest.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@40167 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
186e3466af
commit
ae8da10aa9
@ -145,7 +145,7 @@ class MySQLDatabase extends Database {
|
||||
*/
|
||||
public function selectDatabase($dbname) {
|
||||
$this->database = $dbname;
|
||||
if($this->databaseExists($this->databse)) mysql_select_db($this->database, $this->dbConn);
|
||||
if($this->databaseExists($this->database)) mysql_select_db($this->database, $this->dbConn);
|
||||
$this->tableList = $this->fieldList = $this->indexList = null;
|
||||
}
|
||||
|
||||
|
@ -111,7 +111,7 @@ class SapphireTest extends PHPUnit_Framework_TestCase {
|
||||
foreach($fields as $fieldName => $fieldVal) {
|
||||
// Parse a dictionary reference - used to set foreign keys
|
||||
if(substr($fieldVal,0,2) == '=>') {
|
||||
$obj->$fieldName = $this->fixtureDicationary[ substr($fieldVal,2) ];
|
||||
$obj->$fieldName = $this->fixtureDictionary[ substr($fieldVal,2) ];
|
||||
|
||||
// Regular field value setting
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user