🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
869 B
PHP
Executable File
27 lines
869 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
include dirname(__FILE__, 5) . '/test/lib/init.php';
|
|
include dirname(__FILE__, 2) . '/lib/tutorial.unittest.class.php';
|
|
su('admin');
|
|
|
|
/**
|
|
|
|
title=- 测试获取看板列对象的color属性 @
|
|
timeout=0
|
|
cid=333
|
|
|
|
- 执行tutorial模块的getColumnTest方法 属性id @1
|
|
- 执行tutorial模块的getColumnTest方法 属性type @backlog
|
|
- 执行tutorial模块的getColumnTest方法 属性name @Backlog
|
|
- 执行tutorial模块的getColumnTest方法 属性color @#333
|
|
- 执行tutorial模块的getColumnTest方法 属性limit @-1
|
|
|
|
*/
|
|
|
|
$tutorial = new tutorialTest();
|
|
|
|
r($tutorial->getColumnTest()) && p('id') && e('1');
|
|
r($tutorial->getColumnTest()) && p('type') && e('backlog');
|
|
r($tutorial->getColumnTest()) && p('name') && e('Backlog');
|
|
r($tutorial->getColumnTest()) && p('color') && e('#333');
|
|
r($tutorial->getColumnTest()) && p('limit') && e('-1'); |