Файловый менеджер - Редактировать - /home/lmsyaran/public_html/joomla5/libraries/vendor/php-tuf/php-tuf/tests/Client/HashedBinsTest.php
Назад
<?php namespace Tuf\Tests\Client; use Tuf\Tests\ClientTestBase; class HashedBinsTest extends ClientTestBase { public function test(): void { $this->loadClientAndServerFilesFromFixture('HashedBins'); // The fixture contains targets a.txt through z.txt (ASCII 97 through // 122), distributed across hashed bins. $targets = array_map(fn (int $c) => chr($c) . '.txt', range(97, 122)); $updater = $this->getUpdater(); // We should be able to download every single target without trouble. foreach ($targets as $name) { // By default, the fixture builder puts "Contents: FILENAME" into // the target files it creates. $this->assertSame("Contents: $name", $updater->download($name)->wait()->getContents()); } } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.33 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка