dev
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
<?php
|
||||
namespace JHodges\GiteaBotPHPUnit;
|
||||
|
||||
use \JHodges\GiteaBot\Client;
|
||||
|
||||
final class Poster{
|
||||
|
||||
function __construct($testdox,$xml){
|
||||
@@ -17,7 +19,7 @@ final class Poster{
|
||||
|
||||
function post($url, $user, $pass, $repoUser, $repo){
|
||||
//open connection and repo
|
||||
$client=new Client($config['url'],$config['user'],$config['pass'],$debug);
|
||||
$client=new Client($url, $user, $pass, $repoUser, $repo);
|
||||
$repo=$client->getRepo($repoUser, $repo);
|
||||
|
||||
//create a test issue
|
||||
|
Reference in New Issue
Block a user