This commit is contained in:
James
2019-09-19 08:25:56 +01:00
parent bf3315547f
commit 68edd0f3ea
2 changed files with 57 additions and 1 deletions

View File

@@ -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