Don't think the syntax highlighter likes my indentation with spaces.

This commit is contained in:
Dan Brooks 2013-09-24 21:09:30 +01:00
parent 3e5f788ddc
commit 6145e5914b
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: