mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Add SettingsTest
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2019-01-24 DariusIII
|
||||
* Chg: Add SettingsTest
|
||||
* Chg: Simplify settingValue function in app/Models/Settings model
|
||||
* Chg: Update nunomaduro/larastan (v0.3.14 => v0.3.15)
|
||||
* Chg: Update NNTP class
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: darius
|
||||
* Date: 24.1.19.
|
||||
* Time: 11.41
|
||||
*/
|
||||
|
||||
namespace app\Models;
|
||||
|
||||
use App\Models\Settings;
|
||||
|
||||
class SettingsTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
public function testSettingValue()
|
||||
{
|
||||
$name = Settings::settingValue('site.main.title');
|
||||
|
||||
$this->assertEquals('NNTmux', $name);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user