mirror of
https://github.com/friendica/friendica
synced 2025-01-25 15:39:47 +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
|
||||
|
||||
// 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;
|
||||
|
||||
use Asika\SimpleConsole\Console;
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?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;
|
||||
|
||||
use Dice\Dice;
|
||||
|
|
|
@ -17,10 +17,10 @@ class AppTest extends TestCase
|
|||
{
|
||||
public function testFromDiceReturnsApp(): void
|
||||
{
|
||||
$dice = $this->createMock(Container::class);
|
||||
$dice->expects($this->never())->method('create');
|
||||
$container = $this->createMock(Container::class);
|
||||
$container->expects($this->never())->method('create');
|
||||
|
||||
$app = App::fromContainer($dice);
|
||||
$app = App::fromContainer($container);
|
||||
|
||||
$this->assertInstanceOf(App::class, $app);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue