3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-09 22:15:37 +00:00
Files
snipe-it/tests/Unit/Models/Labels/DefaultLabelTest.php
Marcus Moore aaa6cb24d4 Scaffold test
2025-05-28 11:28:23 -07:00

49 lines
1.1 KiB
PHP

<?php
namespace Tests\Unit\Models\Labels;
use App\Models\Labels\DefaultLabel;
use Tests\TestCase;
class DefaultLabelTest extends TestCase
{
/**
* @link https://app.shortcut.com/grokability/story/29281
*/
public function test_handles_zero_values_for_columns_gracefully()
{
// Defaults
// labels_pagewidth = 8.50000
// labels_pmargin_left = 0.21975
// labels_pmargin_right = 0.21975
// labels_display_sgutter = 0.05000
// labels_width = 2.62500
// $this->settings->set([
// 'labels_width' => 0.00000,
// 'labels_display_sgutter' => 0.00000,
// ]);
$label = new DefaultLabel();
// $label->getColumns();
}
/**
* @link https://app.shortcut.com/grokability/story/29281
*/
public function test_handles_zero_values_for_rows_gracefully()
{
$this->markTestIncomplete();
// $this->settings->set([
// 'labels_height' => 0.00000,
// 'labels_display_bgutter' => 0.00000,
// ]);
$label = new DefaultLabel();
// $label->getRows()
}
}