mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-16 22:58:09 +00:00
Attempt #3
This commit is contained in:
@@ -9,7 +9,8 @@ install:
|
|||||||
- composer install
|
- composer install
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- php vendor/bin/codecept run --coverage-xml -vvv
|
- php vendor/bin/codecept build
|
||||||
|
- php vendor/bin/codecept run --coverage --coverage-xml -vvv
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
- php vendor/bin/coveralls
|
- php vendor/bin/coveralls
|
||||||
@@ -31,7 +31,7 @@ modules:
|
|||||||
populate: false
|
populate: false
|
||||||
coverage:
|
coverage:
|
||||||
enabled: true
|
enabled: true
|
||||||
remote: true
|
remote: false
|
||||||
whitelist:
|
whitelist:
|
||||||
include:
|
include:
|
||||||
- app/controllers/*
|
- app/controllers/*
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1,266 +0,0 @@
|
|||||||
<?php //[STAMP] edd6266044f8995765e1218f33d26102
|
|
||||||
|
|
||||||
// This class was automatically generated by build task
|
|
||||||
// You should not change it manually as it will be overwritten on next build
|
|
||||||
// @codingStandardsIgnoreFile
|
|
||||||
|
|
||||||
|
|
||||||
use Codeception\Module\Asserts;
|
|
||||||
use Codeception\Module\UnitHelper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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 void haveFriend($name, $actorClass = null)
|
|
||||||
*/
|
|
||||||
class UnitTester extends \Codeception\Actor
|
|
||||||
{
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that two variables are equal.
|
|
||||||
*
|
|
||||||
* @param $expected
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
*
|
|
||||||
* @return mixed
|
|
||||||
* @see \Codeception\Module\Asserts::assertEquals()
|
|
||||||
*/
|
|
||||||
public function assertEquals($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertEquals', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that two variables are not equal
|
|
||||||
*
|
|
||||||
* @param $expected
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertNotEquals()
|
|
||||||
*/
|
|
||||||
public function assertNotEquals($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertNotEquals', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that expected is greater than actual
|
|
||||||
*
|
|
||||||
* @param $expected
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertGreaterThan()
|
|
||||||
*/
|
|
||||||
public function assertGreaterThan($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertGreaterThan', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* @deprecated
|
|
||||||
* @see \Codeception\Module\Asserts::assertGreaterThen()
|
|
||||||
*/
|
|
||||||
public function assertGreaterThen($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertGreaterThen', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that expected is greater or equal than actual
|
|
||||||
*
|
|
||||||
* @param $expected
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertGreaterThanOrEqual()
|
|
||||||
*/
|
|
||||||
public function assertGreaterThanOrEqual($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertGreaterThanOrEqual', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* @deprecated
|
|
||||||
* @see \Codeception\Module\Asserts::assertGreaterThenOrEqual()
|
|
||||||
*/
|
|
||||||
public function assertGreaterThenOrEqual($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertGreaterThenOrEqual', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that expected is less than actual
|
|
||||||
*
|
|
||||||
* @param $expected
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertLessThan()
|
|
||||||
*/
|
|
||||||
public function assertLessThan($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertLessThan', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that expected is less or equal than actual
|
|
||||||
*
|
|
||||||
* @param $expected
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertLessThanOrEqual()
|
|
||||||
*/
|
|
||||||
public function assertLessThanOrEqual($expected, $actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertLessThanOrEqual', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that haystack contains needle
|
|
||||||
*
|
|
||||||
* @param $needle
|
|
||||||
* @param $haystack
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertContains()
|
|
||||||
*/
|
|
||||||
public function assertContains($needle, $haystack, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertContains', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that haystack doesn't contain needle.
|
|
||||||
*
|
|
||||||
* @param $needle
|
|
||||||
* @param $haystack
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertNotContains()
|
|
||||||
*/
|
|
||||||
public function assertNotContains($needle, $haystack, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertNotContains', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that variable is empty.
|
|
||||||
*
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertEmpty()
|
|
||||||
*/
|
|
||||||
public function assertEmpty($actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertEmpty', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that variable is not empty.
|
|
||||||
*
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertNotEmpty()
|
|
||||||
*/
|
|
||||||
public function assertNotEmpty($actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertNotEmpty', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that variable is NULL
|
|
||||||
*
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertNull()
|
|
||||||
*/
|
|
||||||
public function assertNull($actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertNull', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that variable is not NULL
|
|
||||||
*
|
|
||||||
* @param $actual
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertNotNull()
|
|
||||||
*/
|
|
||||||
public function assertNotNull($actual, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertNotNull', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that condition is positive.
|
|
||||||
*
|
|
||||||
* @param $condition
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertTrue()
|
|
||||||
*/
|
|
||||||
public function assertTrue($condition, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertTrue', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Checks that condition is negative.
|
|
||||||
*
|
|
||||||
* @param $condition
|
|
||||||
* @param string $message
|
|
||||||
* @see \Codeception\Module\Asserts::assertFalse()
|
|
||||||
*/
|
|
||||||
public function assertFalse($condition, $message = null) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('assertFalse', func_get_args()));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* [!] Method is generated. Documentation taken from corresponding module.
|
|
||||||
*
|
|
||||||
* Fails the test with message.
|
|
||||||
*
|
|
||||||
* @param $message
|
|
||||||
* @see \Codeception\Module\Asserts::fail()
|
|
||||||
*/
|
|
||||||
public function fail($message) {
|
|
||||||
return $this->scenario->runStep(new \Codeception\Step\Action('fail', func_get_args()));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user