Skip to content

Commit

Permalink
green
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria committed Jun 8, 2024
1 parent 074f9fd commit e28fe0d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="phpunit.php" colors="true" processIsolation="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Package Test Suite">
<directory suffix=".php">./tests/</directory>
<directory suffix="Test.php">./tests/</directory>
</testsuite>
</testsuites>
<source>
Expand Down
2 changes: 2 additions & 0 deletions tests/ScopedNodeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
use Illuminate\Database\Capsule\Manager as Capsule;
use Kalnoy\Nestedset\NestedSet;

include __DIR__ . '/models/MenuItem.php';

class ScopedNodeTest extends PHPUnit\Framework\TestCase
{
public static function setUpBeforeClass(): void
Expand Down
4 changes: 3 additions & 1 deletion tests/models/DuplicateCategory.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

class DuplicateCategory extends \Illuminate\Database\Eloquent\Model implements \Kalnoy\Nestedset\Node
use Illuminate\Database\Eloquent\Model;

class DuplicateCategory extends Model implements \Kalnoy\Nestedset\Node
{
use \Kalnoy\Nestedset\NodeTrait;

Expand Down
4 changes: 3 additions & 1 deletion tests/models/MenuItem.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?php

class MenuItem extends \Illuminate\Database\Eloquent\Model implements \Kalnoy\Nestedset\Node
use Illuminate\Database\Eloquent\Model;

class MenuItem extends Model implements \Kalnoy\Nestedset\Node
{
use \Kalnoy\Nestedset\NodeTrait;

Expand Down

0 comments on commit e28fe0d

Please sign in to comment.