Skip to content

Commit f6c47e3

Browse files
authored
Merge pull request #16 from SadElephant/fixed_test
fixed test
2 parents ae36154 + ed00fbd commit f6c47e3

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
4242
4343
- name: Execute tests
44-
run: vendor/bin/phpunit
44+
run: vendor/bin/phpunit --no-coverage

phpunit.xml.dist

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<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/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
processIsolation="false"
7+
stopOnFailure="false"
8+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.1/phpunit.xsd"
9+
>
310
<testsuites>
411
<testsuite name="Orchid Test Suite">
5-
<directory>tests</directory>
12+
<directory suffix="Test.php">./tests</directory>
613
</testsuite>
714
</testsuites>
815
<coverage>
9-
<include>
10-
<directory suffix=".php">./src</directory>
11-
</include>
1216
<report>
1317
<html outputDirectory="build/coverage"/>
1418
<text outputFile="build/coverage.txt"/>

tests/ExampleTest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
namespace Orchid\Fortify\Tests;
4+
5+
use PHPUnit\Framework\TestCase;
6+
7+
class ExampleTest extends TestCase
8+
{
9+
public function testExample()
10+
{
11+
$this->assertTrue(true);
12+
}
13+
}

0 commit comments

Comments
 (0)