+ [unittest] add the unittest comments for prepareCardDataset.

This commit is contained in:
wangzemei
2025-06-27 09:17:56 +08:00
parent eafc3a4317
commit 84ff01fae5
@@ -0,0 +1,20 @@
#!/usr/bin/env php
<?php
include dirname(__FILE__, 5) . '/test/lib/init.php';
include dirname(__FILE__, 2) . '/lib/screen.unittest.class.php';
/**
title=测试 screenModel->prepareCardDataset();
timeout=0
cid=1
*/
$screen = new screenTest();
$component1 = new stdclass();
$component1->type = 'card';
$component1->option = new stdclass();
$component2 = clone $component1;
$component2->styles = 1;