Update FileNameTest.php

This commit is contained in:
Mou Ikkai 2020-09-30 17:55:06 -04:00 committed by GitHub
parent 4e3eda9072
commit 81748bbade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,12 +12,12 @@ class FileNameTest extends TestCase
*/ */
protected $object = null; protected $object = null;
public function setUp() public function setUp(): void
{ {
$this->object = new FileName(); $this->object = new FileName();
} }
public function tearDown() public function tearDown(): void
{ {
} }
@ -30,4 +30,4 @@ class FileNameTest extends TestCase
$this->assertEquals($this->object->isValid('test.png'), true); $this->assertEquals($this->object->isValid('test.png'), true);
$this->assertEquals($this->object->isValid('test'), true); $this->assertEquals($this->object->isValid('test'), true);
} }
} }