Skip to content

Commit 03304f2

Browse files
authored
Test Suite cleanup - migrating existing tests into "Unit" (rappasoft#2037)
* Initial Movement of Tests into Directories * Fix styling --------- Co-authored-by: lrljoe <[email protected]>
1 parent 12f907e commit 03304f2

File tree

102 files changed

+101
-101
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

102 files changed

+101
-101
lines changed

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
beStrictAboutOutputDuringTests="true" >
1111
<testsuites>
1212
<testsuite name="Laravel Livewire Tables Test Suite">
13-
<directory>tests</directory>
13+
<directory>tests/Unit</directory>
1414
</testsuite>
1515
</testsuites>
1616
<source>

tests/Attributes/AggregateColumnProvider.php renamed to tests/Unit/Attributes/AggregateColumnProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\Attributes;
3+
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\Attributes;
44

55
final class AggregateColumnProvider
66
{

tests/DataTransferObjects/DebuggableDataTest.php renamed to tests/Unit/DataTransferObjects/DebuggableDataTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\DataTransferObjects;
3+
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\DataTransferObjects;
44

55
use Rappasoft\LaravelLivewireTables\DataTransferObjects\DebuggableData;
66
use Rappasoft\LaravelLivewireTables\Tests\TestCase;
File renamed without changes.
File renamed without changes.
File renamed without changes.

tests/Features/AutoInjectRappasoftAssetsTest.php renamed to tests/Unit/Features/AutoInjectRappasoftAssetsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\Features;
3+
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\Features;
44

55
use Rappasoft\LaravelLivewireTables\Features\AutoInjectRappasoftAssets;
66
use Rappasoft\LaravelLivewireTables\Tests\TestCase;

tests/Mechanisms/RappasoftFrontendAssetsTest.php renamed to tests/Unit/Mechanisms/RappasoftFrontendAssetsTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\Mechanisms;
3+
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\Mechanisms;
44

55
use PHPUnit\Framework\Attributes\Depends;
66
use Rappasoft\LaravelLivewireTables\Mechanisms\RappasoftFrontendAssets;

tests/Traits/Configuration/BulkActionsConfigurationTest.php renamed to tests/Unit/Traits/Configuration/BulkActionsConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\Traits\Configuration;
3+
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\Traits\Configuration;
44

55
use PHPUnit\Framework\Attributes\DataProvider;
66
use Rappasoft\LaravelLivewireTables\Tests\TestCase;

tests/Traits/Configuration/BulkActionsStylingConfigurationTest.php renamed to tests/Unit/Traits/Configuration/BulkActionsStylingConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Rappasoft\LaravelLivewireTables\Tests\Traits\Configuration;
3+
namespace Rappasoft\LaravelLivewireTables\Tests\Unit\Traits\Configuration;
44

55
use Illuminate\View\ComponentAttributeBag;
66
use PHPUnit\Framework\Attributes\DataProvider;

0 commit comments

Comments
 (0)