Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:laraxot/module_ui_fila3 into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
marco76tv committed Jan 19, 2024
2 parents e04fc6a + 3d8c526 commit 538f2c3
Show file tree
Hide file tree
Showing 18 changed files with 89 additions and 174 deletions.
12 changes: 4 additions & 8 deletions Tests/Unit/Database/Seeders/UIDatabaseSeederTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Tests\Unit\Database\Seeders;

use Modules\UI\Database\Seeders\UIDatabaseSeeder;
Expand All @@ -14,20 +16,14 @@ final class UIDatabaseSeederTest extends TestCase
{
private UIDatabaseSeeder $uIDatabaseSeeder;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->uIDatabaseSeeder = new UIDatabaseSeeder();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -37,7 +33,7 @@ protected function tearDown(): void

public function testRun(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
16 changes: 6 additions & 10 deletions Tests/Unit/Filament/Blocks/ImageTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Tests\Unit\Filament\Blocks;

use Modules\UI\Filament\Blocks\Image;
Expand All @@ -14,20 +16,14 @@ final class ImageTest extends TestCase
{
private Image $image;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->image = new Image();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -37,19 +33,19 @@ protected function tearDown(): void

public function testMake(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testGetRatios(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testGetRatioClass(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
12 changes: 4 additions & 8 deletions Tests/Unit/Filament/Blocks/ParagraphTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Tests\Unit\Filament\Blocks;

use Modules\UI\Filament\Blocks\Paragraph;
Expand All @@ -14,20 +16,14 @@ final class ParagraphTest extends TestCase
{
private Paragraph $paragraph;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->paragraph = new Paragraph();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -37,7 +33,7 @@ protected function tearDown(): void

public function testMake(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
12 changes: 4 additions & 8 deletions Tests/Unit/Filament/Blocks/TitleTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Tests\Unit\Filament\Blocks;

use Modules\UI\Filament\Blocks\Title;
Expand All @@ -14,20 +16,14 @@ final class TitleTest extends TestCase
{
private Title $title;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->title = new Title();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -37,7 +33,7 @@ protected function tearDown(): void

public function testMake(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
13 changes: 4 additions & 9 deletions Tests/Unit/Filament/Forms/Components/ParentSelectTest.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Filament\Tests\Unit\Forms\Components;

use Modules\UI\Filament\Forms\Components\ParentSelect;
use ReflectionClass;
use Tests\TestCase;

/**
Expand All @@ -15,20 +16,14 @@ final class ParentSelectTest extends TestCase
{
private ParentSelect $parentSelect;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->parentSelect = new ParentSelect();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -39,7 +34,7 @@ protected function tearDown(): void
public function testGetOptionValueProperty(): void
{
$expected = '42';
$property = (new ReflectionClass(ParentSelect::class))
$property = (new \ReflectionClass(ParentSelect::class))
->getProperty('optionValueProperty');
$property->setValue($this->parentSelect, $expected);
self::assertSame($expected, $this->parentSelect->getOptionValueProperty());
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Filament\Resources\TreeResource\Tests\Unit\Pages\Concerns;

use Modules\UI\Filament\Resources\TreeResource\Pages\Concerns\HandlesTreeBuilder;
Expand All @@ -14,22 +16,16 @@ final class HandlesTreeBuilderTest extends TestCase
{
private HandlesTreeBuilder $handlesTreeBuilder;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->handlesTreeBuilder = $this->getMockBuilder(HandlesTreeBuilder::class)
->setConstructorArgs([])
->getMockForTrait();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -39,55 +35,55 @@ protected function tearDown(): void

public function testSortNavigation(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testAddChild(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testRemoveItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testDeleteItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testEditItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testCreateItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testUpdateItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testStoreChildItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testStoreItem(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
14 changes: 5 additions & 9 deletions Tests/Unit/Filament/Tables/Columns/GroupColumnTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Filament\Tests\Unit\Tables\Columns;

use Modules\UI\Filament\Tables\Columns\GroupColumn;
Expand All @@ -14,20 +16,14 @@ final class GroupColumnTest extends TestCase
{
private GroupColumn $groupColumn;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->groupColumn = new GroupColumn();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -37,13 +33,13 @@ protected function tearDown(): void

public function testGetFields(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}

public function testSchema(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
12 changes: 4 additions & 8 deletions Tests/Unit/Providers/Filament/AdminPanelProviderTest.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace Modules\UI\Tests\Unit\Providers\Filament;

use Modules\UI\Providers\Filament\AdminPanelProvider;
Expand All @@ -14,20 +16,14 @@ final class AdminPanelProviderTest extends TestCase
{
private AdminPanelProvider $adminPanelProvider;

/**
* {@inheritdoc}
*/
protected function setUp(): void
{
parent::setUp();

/** @todo Correctly instantiate tested object to use it. */
/* @todo Correctly instantiate tested object to use it. */
$this->adminPanelProvider = new AdminPanelProvider();
}

/**
* {@inheritdoc}
*/
protected function tearDown(): void
{
parent::tearDown();
Expand All @@ -37,7 +33,7 @@ protected function tearDown(): void

public function testPanel(): void
{
/** @todo This test is incomplete. */
/* @todo This test is incomplete. */
self::markTestIncomplete();
}
}
Loading

0 comments on commit 538f2c3

Please sign in to comment.