PHP Classes

File: tests/Unit/Doctor/CategoryTest.php

Recommend this page to a friend!
  Packages of Alberto Arena   Laravel Truss   tests/Unit/Doctor/CategoryTest.php   Download  
File: tests/Unit/Doctor/CategoryTest.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Truss
View a diagram of a Laravel application models
Author: By
Last change:
Date: 8 days ago
Size: 296 bytes
 

Contents

Class file image Download
<?php

declare(strict_types=1);

use
AlbertoArena\Truss\Doctor\Category;

it('exposes the CLI tokens used by --only and --skip', function () {
   
expect(array_map(fn (Category $c): string => $c->value, Category::cases()))
        ->
toBe(['integrity', 'index', 'type', 'naming', 'laravel']);
});