mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 11:14:06 +00:00
79 - Confirmation Number Characteristics
This commit is contained in:
16
tests/unit/RandomOrderConfirmationNumberGeneratorTest.php
Normal file
16
tests/unit/RandomOrderConfirmationNumberGeneratorTest.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
use Illuminate\Foundation\Testing\WithoutMiddleware;
|
||||||
|
use Illuminate\Foundation\Testing\DatabaseMigrations;
|
||||||
|
use Illuminate\Foundation\Testing\DatabaseTransactions;
|
||||||
|
|
||||||
|
class RandomOrderConfirmationNumberGeneratorTest extends TestCase
|
||||||
|
{
|
||||||
|
// Must be 24 characters long
|
||||||
|
// Can only contain uppercase letters and numbers
|
||||||
|
// Cannot contain ambiguous characters
|
||||||
|
// All order confirmation numbers must be unique
|
||||||
|
//
|
||||||
|
// ABCDEFGHJKLMNPQRSTUVWXYZ
|
||||||
|
// 23456789
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user