mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 20:24:04 +00:00
add options() method, resolve #2
This commit is contained in:
parent
7c02bbaa73
commit
e01edd128f
4 changed files with 34 additions and 9 deletions
7
tests/Pest/OptionsTest.php
Normal file
7
tests/Pest/OptionsTest.php
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
<?php
|
||||
|
||||
it('can return an associative array of options')
|
||||
->expect(Status::options())->toBe([
|
||||
'PENDING' => 0,
|
||||
'DONE' => 1,
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue