aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes/AccountTest.php
blob: d123a0c70fa4b58316a3dcb4a6a13659673e51bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<?php
/**
 * Tests for account handling helper functions.
 */

class AccountTest extends Zotlabs\Tests\Unit\UnitTestCase {
	public function test_get_account_by_id_returns_existing_account() {
		$account = get_account_by_id(42);
		$this->assertNotFalse($account);
		$this->assertEquals($this->fixtures['account'][0]['account_email'], $account['account_email']);
	}
}