Commit Graph

33 Commits

Author SHA1 Message Date
Luke English
9d3b84517a
Update composer depedencies to be the same as the advanced application (#262)
* Compatible with PHP 8.1 and Codeception 5
* Add PHP 8.1 to workflow
* PHP 7.4 as a minimum
* Updated dependencies

Co-authored-by: Luke English <luke.english@ec2i.biz>
2022-06-17 19:15:52 +03:00
Luke English
94bfe89845
Update to PHP 7.4 and codeception/verify 2.2 (#260)
Co-authored-by: Luke English <luke.english@ec2i.biz>
2022-02-25 17:58:50 +03:00
Alexander Makarov
a56693d88f
Do not mock contact form in test 2020-11-16 16:22:10 +03:00
Gintautas Miselis
660ebb41df Upgrade to Codeception 4.0 (#218)
* Use modular Codeception 4.0
* Moved bootstrap setting to top level

Because old location is deprecated
See https://bit.ly/2YrRzVc

* Use stringContainsString instead of contains

Because using assertContains() with string haystacks is deprecated and will not be supported in PHPUnit 9.

* Removed 5.4 and 5.5
2019-11-22 22:02:47 +03:00
Alexander Makarov
3076318d05
Fixed contact form tests 2019-04-23 15:31:43 +03:00
Ricardo Pérez
069ec1f6d0 Fix namespaces in unit tests (#171) 2019-01-27 23:30:35 +03:00
Aleksandar Belic
a31ee4418a Removing unused classes from unit test models. (#162) 2017-12-11 18:59:34 +03:00
Bulat Damdinov
c49a8554e8 Minor fixes of test files (#139) [skip ci] 2017-09-12 12:29:58 +03:00
Davert
b7526436aa added email verification for unit and functional tests 2016-07-19 03:53:55 +03:00
Davert
95bd8f4409 added tests for amLoggedIn method 2016-07-18 20:33:45 +03:00
Davert
0ef627f7de refactored tests 2016-07-16 04:13:51 +03:00
Davert
b1015559e0 refactoring 2016-07-14 21:03:28 +03:00
Alexander Makarov
c55a791237 Codeception test adjustments for basic and advanced applications
- Moved everything test-related into `tests` directory. Codeception tests are in `codeception`.
- Removed database module since we're using fixtures and migrations.
- Moved console entry points and bootstrap into `tests/codeception/bin`.
- Adjusted travis build scripts.
- Adjusted documentation to be consistent and reflect changes made.
2014-08-15 19:09:52 +04:00
Alexander Makarov
91f05a2891 Fixes #4071: mail component renamed to mailer, yii\log\EmailTarget::$mail renamed to yii\log\EmailTarget::$mailer 2014-06-26 18:28:28 +04:00
Mark
7a467ed501 basic application template tests adjusted 2014-06-09 16:10:16 +04:00
Alexander Makarov
1b8ef667f7 Fixes #2911: Removed tbl_ default for table prefix 2014-03-30 19:33:46 +04:00
SonicGD
93cc82c4bf Reformat code te be PSR-2 compatible 2014-03-16 10:46:21 +06:00
maximal
4e188239cf Closing and opening braces in Yii2 coding standards. 2014-02-24 20:32:15 +04:00
maximal
c2c3c22ff5 Further coding standards fixes. 2014-02-24 20:17:38 +04:00
MaximAL
94c6095df3 Coding standards fixes. 2014-02-24 18:45:35 +03:00
Mark
2fe23bc740 visibility changed 2014-02-14 18:08:07 +04:00
Mark
d4b50fcf06 forcing user component to logout 2014-02-14 18:05:56 +04:00
Qiang Xue
ceabdffd57 Merge branch 'tests_improved_verify' of github.com:Ragazzo/yii2 into Ragazzo-tests_improved_verify
Conflicts:
	apps/basic/tests/README.md
	apps/basic/tests/unit/models/LoginFormTest.php
2014-01-22 09:27:11 -05:00
Qiang Xue
103375976b fixed test break. 2014-01-20 11:52:50 -05:00
Luciano Baraglia
b40b962628 Some Code style fixes 2014-01-19 13:35:36 -03:00
Mark
e460d4b241 tests improved, verify added 2014-01-05 03:12:40 +04:00
Mark
832b7fa911 CS fix 2013-12-31 23:13:47 +04:00
Mark
ef23e05ba9 tests improved, aspect mock changes reverted 2013-12-31 23:02:10 +04:00
Mark
fc0df16f47 modified tests, improved configuration, introduced aspect mock and specify. 2013-12-31 00:17:36 +04:00
Carsten Brandt
09237c013e cleanup and re-aranged codeception tests for basic app
follow up to PR #1393
2013-12-17 00:27:33 +01:00
Mark
decab1d660 modified tests according yii2-codeception extension 2013-12-13 19:37:08 +04:00
Mark
e6ae361033 added testcase for unit tests, bootstrap files improved, tests inherited from base testcase 2013-12-03 11:07:36 +04:00
Mark
d2214e4f0a tests modified, bootstrap added 2013-12-02 15:25:21 +04:00