Run basic tests on the indicated user.
object $user: The logged in user.
boolean $admin: User has 'access administration pages' privilege.
private function doBasicTests($user, $admin) {
// Login the user.
$this
->drupalLogin($user);
// Create blog node.
$node = $this
->drupalCreateNode(array(
'type' => 'blog',
));
// Verify the user has access to all the blog nodes.
$this
->verifyBlogs($user, $node, $admin);
// Create one more node to test the blog page with more than one node
$this
->drupalCreateNode(array(
'type' => 'blog',
'uid' => $user->uid,
));
// Verify the blog links are displayed.
$this
->verifyBlogLinks($user);
}