This commit is contained in:
Daniil Gentili 2020-02-04 00:21:52 +01:00
parent 3f173b070f
commit d686aac36f
2 changed files with 13 additions and 14 deletions

View File

@ -41,55 +41,55 @@ const VOICE = 3;
*/ */
const VIDEO = 4; const VIDEO = 4;
/** /**
* Document * Document.
*/ */
const DOCUMENT = 5; const DOCUMENT = 5;
/** /**
* Secret chat document * Secret chat document.
*/ */
const ENCRYPTED = 6; const ENCRYPTED = 6;
/** /**
* Temporary document * Temporary document.
*/ */
const TEMP = 7; const TEMP = 7;
/** /**
* Sticker * Sticker.
*/ */
const STICKER = 8; const STICKER = 8;
/** /**
* Music * Music.
*/ */
const AUDIO = 9; const AUDIO = 9;
/** /**
* GIF * GIF.
*/ */
const ANIMATION = 10; const ANIMATION = 10;
/** /**
* Encrypted thumbnail * Encrypted thumbnail.
*/ */
const ENCRYPTED_THUMBNAIL = 11; const ENCRYPTED_THUMBNAIL = 11;
/** /**
* Wallpaper * Wallpaper.
*/ */
const WALLPAPER = 12; const WALLPAPER = 12;
/** /**
* Round video * Round video.
*/ */
const VIDEO_NOTE = 13; const VIDEO_NOTE = 13;
/** /**
* Passport raw file * Passport raw file.
*/ */
const SECURE_RAW = 14; const SECURE_RAW = 14;
/** /**
* Passport file * Passport file.
*/ */
const SECURE = 15; const SECURE = 15;
/** /**
* Background * Background.
*/ */
const BACKGROUND = 16; const BACKGROUND = 16;
/** /**
* Size * Size.
*/ */
const SIZE = 17; const SIZE = 17;
const NONE = 18; const NONE = 18;

View File

@ -20,7 +20,6 @@ class IntegrationTest extends TestCase
*/ */
public function testAll(string $type, string $fileIdStr, string $uniqueFileIdStr) public function testAll(string $type, string $fileIdStr, string $uniqueFileIdStr)
{ {
var_dump($fileIdStr, $uniqueFileIdStr);
$fileId = FileId::fromBotAPI($fileIdStr); $fileId = FileId::fromBotAPI($fileIdStr);
$this->assertSame($type, $fileId->getTypeName()); $this->assertSame($type, $fileId->getTypeName());