Merge pull request #2454 from dangerdan/doc_corrections

Don't think the syntax highlighter likes my indentation with spaces.
This commit is contained in:
Ingo Schommer 2013-09-24 13:15:37 -07:00
commit 7da1340cbb
4 changed files with 163 additions and 163 deletions

View File

@ -42,7 +42,7 @@ URLs. Here is an example from the subsites module:
$this->assertTrue(strpos($response3->getBody(), '<form') === false);
$this->assertTrue(strpos($response3->getBody(), '<head') === false);
}
}
We are using a new static method here: **Director::test($url, $postVars, $sessionObj)**

View File

@ -163,7 +163,7 @@ you only need to instantiate a factory to start using it.
It is important to remember that fixtures are referenced by arbitrary
identifiers ('myobj1'). These are internally mapped to their database identifiers.
:::
:::php
$databaseId = $factory->getId('MyClass', 'myobj1');
In order to create an object with certain properties, just add a second argument: