mirror of
https://github.com/friendica/friendica
synced 2025-04-27 19:50:12 +00:00
Add license
This commit is contained in:
parent
c726675189
commit
2238ea8d52
3 changed files with 13 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
// Copyright (C) 2010-2024, the Friendica project
|
||||||
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
namespace Friendica\Console;
|
namespace Friendica\Console;
|
||||||
|
|
||||||
use Asika\SimpleConsole\Console;
|
use Asika\SimpleConsole\Console;
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
|
// Copyright (C) 2010-2024, the Friendica project
|
||||||
|
// SPDX-FileCopyrightText: 2010-2024 the Friendica project
|
||||||
|
//
|
||||||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||||||
|
|
||||||
namespace Friendica\Core;
|
namespace Friendica\Core;
|
||||||
|
|
||||||
use Dice\Dice;
|
use Dice\Dice;
|
||||||
|
|
|
@ -17,10 +17,10 @@ class AppTest extends TestCase
|
||||||
{
|
{
|
||||||
public function testFromDiceReturnsApp(): void
|
public function testFromDiceReturnsApp(): void
|
||||||
{
|
{
|
||||||
$dice = $this->createMock(Container::class);
|
$container = $this->createMock(Container::class);
|
||||||
$dice->expects($this->never())->method('create');
|
$container->expects($this->never())->method('create');
|
||||||
|
|
||||||
$app = App::fromContainer($dice);
|
$app = App::fromContainer($container);
|
||||||
|
|
||||||
$this->assertInstanceOf(App::class, $app);
|
$this->assertInstanceOf(App::class, $app);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue