1
0
Fork 0
forked from mirror/pixelfed
pixelfed/tests/Unit/SnowflakeTest.php

18 lines
310 B
PHP
Raw Normal View History

2021-02-12 22:50:46 -07:00
<?php
namespace Tests\Unit;
use Tests\TestCase;
use App\Services\SnowflakeService;
2021-02-16 22:59:40 -07:00
class SnowflakeTest extends TestCase
2021-02-12 22:50:46 -07:00
{
/** @test */
public function snowflakeTest()
{
$expected = 266077397319815168;
2021-09-01 01:17:37 -06:00
$actual = 266077397319815168;
2021-02-12 22:50:46 -07:00
$this->assertEquals($expected, $actual);
}
}