<?php
require_once 'CiviTest/CiviUnitTestCase.php';
require_once 'CiviTest/Contact.php';
+
+/**
+ * Class CRM_Core_BAO_OpenIDTest
+ */
class CRM_Core_BAO_OpenIDTest extends CiviUnitTestCase {
+ /**
+ * @return array
+ */
function get_info() {
return array(
'name' => 'OpenID BAOs',
}
/**
- * add() method (create and update modes)
+ * Add() method (create and update modes)
*/
function testAdd() {
$contactId = Contact::createIndividual();
}
/**
- * ifAllowedToLogin() method (set and reset allowed_to_login)
+ * IfAllowedToLogin() method (set and reset allowed_to_login)
*/
function testIfAllowedToLogin() {
$contactId = Contact::createIndividual();
}
/**
- * allOpenIDs() method - get all OpenIDs for the given contact
+ * AllOpenIDs() method - get all OpenIDs for the given contact
*/
function testAllOpenIDs() {
$contactId = Contact::createIndividual();