0
0
Fork 0
mirror of https://github.com/nextcloud/server.git synced 2025-05-21 13:37:39 +00:00
nextcloud_server/tests/lib/Settings/SectionTest.php

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
605 B
PHP
Raw Permalink Normal View History

2016-08-15 16:24:56 +02:00
<?php
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
2016-08-15 16:24:56 +02:00
*/
namespace OCA\Settings\Tests\AppInfo;
2016-08-15 16:24:56 +02:00
use OC\Settings\Section;
use Test\TestCase;
class SectionTest extends TestCase {
public function testGetID(): void {
$this->assertSame('ldap', (new Section('ldap', 'name', 1))->getID());
}
public function testGetName(): void {
$this->assertSame('name', (new Section('ldap', 'name', 1))->getName());
}
public function testGetPriority(): void {
$this->assertSame(1, (new Section('ldap', 'name', 1))->getPriority());
}
}