- phpC(dis)I fixes II

This commit is contained in:
paolo
2016-07-11 17:18:49 +02:00
parent d58ba92b15
commit bc331e10ad
16 changed files with 11 additions and 1755 deletions
+4 -2
View File
@@ -10,12 +10,14 @@ documents/
.project .project
.buildpath .buildpath
application/config/development/ application/config/development/
tests/codeception/_output/*
tests/codeception/_support/*
tests/codeception/tests/_output/*
tests/codeception/tests/_support/*
tests/codeception/codeception.yml tests/codeception/codeception.yml
tests/codeception/tests/api.suite.yml tests/codeception/tests/api.suite.yml
tests/codeception/tests/functional.suite.yml tests/codeception/tests/functional.suite.yml
tests/codeception/tests/acceptance.suite.yml tests/codeception/tests/acceptance.suite.yml
tests/codeception/_support/_generated
tests/codeception/_output/*
!/tests/codeception/_output/.placeholder !/tests/codeception/_output/.placeholder
/submodules/d3 /submodules/d3
composer.lock composer.lock
@@ -1,10 +0,0 @@
<?php
namespace Codeception\Module;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class AcceptanceHelper extends \Codeception\Module
{
}
@@ -1,26 +0,0 @@
<?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/
class AcceptanceTester extends \Codeception\Actor
{
use _generated\AcceptanceTesterActions;
/**
* Define custom actions here
*/
}
-26
View File
@@ -1,26 +0,0 @@
<?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/
class ApiTester extends \Codeception\Actor
{
use _generated\ApiTesterActions;
/**
* Define custom actions here
*/
}
@@ -1,10 +0,0 @@
<?php
namespace Codeception\Module;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class FunctionalHelper extends \Codeception\Module
{
}
@@ -1,26 +0,0 @@
<?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/
class FunctionalTester extends \Codeception\Actor
{
use _generated\FunctionalTesterActions;
/**
* Define custom actions here
*/
}
-10
View File
@@ -1,10 +0,0 @@
<?php
namespace Helper;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class Api extends \Codeception\Module
{
}
-10
View File
@@ -1,10 +0,0 @@
<?php
namespace Codeception\Module;
// here you can define custom actions
// all public methods declared in helper class will be available in $I
class UnitHelper extends \Codeception\Module
{
}
-26
View File
@@ -1,26 +0,0 @@
<?php
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void expect($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/
class UnitTester extends \Codeception\Actor
{
use _generated\UnitTesterActions;
/**
* Define custom actions here
*/
}
@@ -7,12 +7,10 @@
class_name: AcceptanceTester class_name: AcceptanceTester
modules: modules:
enabled: enabled:
- PhpBrowser
- AcceptanceHelper
- Db - Db
- PhpBrowser:
url: 'http://admin:1q2w3@demo.fhcomplete.org/fhcomplete/'
config: config:
PhpBrowser:
url: 'http://admin:1q2w3@localhost/build/fhcomplete/'
Db: Db:
dsn: 'pgsql:host=localhost;port=5432;dbname=fhctest' dsn: 'pgsql:host=localhost;port=5432;dbname=fhctest'
user: 'fhcomplete' user: 'fhcomplete'
@@ -20,4 +18,4 @@ modules:
dump: _data/dump.sql dump: _data/dump.sql
populate: true populate: true
cleanup: false cleanup: false
reconnect: false reconnect: false
File diff suppressed because it is too large Load Diff
@@ -1,7 +1,6 @@
class_name: ApiTester class_name: ApiTester
modules: modules:
enabled: enabled:
- \Helper\Api
- Db - Db
- REST: - REST:
# API URL # API URL
@@ -6,4 +6,5 @@
class_name: FunctionalTester class_name: FunctionalTester
modules: modules:
enabled: [Filesystem, FunctionalHelper] enabled:
- Filesystem
+2 -1
View File
@@ -3,4 +3,5 @@
# suite for unit (internal) tests. # suite for unit (internal) tests.
class_name: UnitTester class_name: UnitTester
modules: modules:
enabled: [Asserts, UnitHelper] enabled:
- Asserts