blob: d3b364f17d7416bc6fa3e22e322f55c9c7aa125d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<?php
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Settings\Tests\AppInfo;
use OC\Settings\Section;
use Test\TestCase;
class SectionTest extends TestCase {
public function testGetID() {
$this->assertSame('ldap', (new Section('ldap', 'name', 1))->getID());
}
public function testGetName() {
$this->assertSame('name', (new Section('ldap', 'name', 1))->getName());
}
public function testGetPriority() {
$this->assertSame(1, (new Section('ldap', 'name', 1))->getPriority());
}
}
|