Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Felice Ostuni committed Jun 12, 2024
1 parent 1131eb7 commit f1a98c7
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 32 deletions.
1 change: 1 addition & 0 deletions .phpunit.cache/test-results
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":1,"defects":[],"times":{"Zofe\\Rapyd\\Tests\\Feature\\RapydTest::test_article_list":0.132,"Zofe\\Rapyd\\Tests\\Feature\\RapydTest::test_article_view":0.019,"Zofe\\Rapyd\\Tests\\Feature\\RapydTest::test_article_edit":0.083,"Zofe\\Rapyd\\Tests\\ExampleTest::test_true_is_true":0.045}}
7 changes: 7 additions & 0 deletions config/livewire.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?php


return [
'legacy_model_binding' => true,
'layout' => 'layout::admin'
];
50 changes: 21 additions & 29 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,31 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Zofe Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="vendor/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
<testsuites>
<testsuite name="Zofe Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
<clover outputFile="build/logs/clover.xml"/>
</report>
</coverage>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<source>
<include>
<directory suffix=".php">./src</directory>
</include>
</source>
</phpunit>
2 changes: 1 addition & 1 deletion src/RapydServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function forceAssetInjection()
public function register()
{
$this->mergeConfigFrom(__DIR__ . '/../config/rapyd.php', 'rapyd');
//$this->mergeConfigFrom(__DIR__ . '/../config/livewire.php', 'livewire');
$this->mergeConfigFrom(__DIR__ . '/../config/livewire.php', 'livewire');

$this->app->register(BreadcrumbsServiceProvider::class);
$this->app->register(ModuleServiceProvider::class);
Expand Down
3 changes: 1 addition & 2 deletions tests/ExampleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

class ExampleTest extends TestCase
{
/** @test */
public function true_is_true()
public function test_true_is_true()
{
$this->assertTrue(true);
}
Expand Down

0 comments on commit f1a98c7

Please sign in to comment.