Skip to content

Commit 09ace5d

Browse files
committed
init tests
1 parent 5704477 commit 09ace5d

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
[![Latest Version on Packagist](https://img.shields.io/packagist/v/programic/laravel-task.svg?style=flat-square)](https://packagist.org/packages/programic/laravel-task)
44
![](https://github.com/programic/laravel-task/workflows/Run%20Tests/badge.svg?branch=master)
5+
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/programic/laravel-task/run-php-tests?label=Tests)
56
[![Total Downloads](https://img.shields.io/packagist/dt/programic/laravel-task.svg?style=flat-square)](https://packagist.org/packages/programic/laravel-task)
67

78
This package allows you to automate tasks as in migrations

tests/TestCase.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
namespace Facade\Ignition\Tests;
4+
5+
use Programic\Tasks\Facades\Task;
6+
use Programic\Tasks\TaskServiceProvider;
7+
8+
class TestCase extends \Orchestra\Testbench\TestCase
9+
{
10+
public function setUp(): void
11+
{
12+
parent::setUp();
13+
}
14+
15+
protected function getPackageProviders($app)
16+
{
17+
return [TaskServiceProvider::class];
18+
}
19+
20+
protected function getPackageAliases($app)
21+
{
22+
return [
23+
'Task' => Task::class,
24+
];
25+
}
26+
}

0 commit comments

Comments
 (0)