23 lines
413 B
PHP
Executable File
23 lines
413 B
PHP
Executable File
#!/usr/bin/env php
|
|
<?php
|
|
include dirname(dirname(dirname(__FILE__))) . '/lib/init.php';
|
|
include dirname(dirname(dirname(__FILE__))) . '/class/gitlab.class.php';
|
|
su('admin');
|
|
|
|
/**
|
|
|
|
title=测试gitlabModel->gitList();
|
|
cid=1
|
|
pid=1
|
|
|
|
获取GiLlab列表 >> 1
|
|
|
|
*/
|
|
|
|
$gitlab = new gitlabTest();
|
|
|
|
$orderBy = 'id_desc';
|
|
r($gitlab->getList($orderBy)) && p('id') && e('1'); // 获取GitLab列表
|
|
|
|
system("./ztest init");
|