Commit graph

538 commits

Author SHA1 Message Date
Mike Tralala 91344c0ec8 Update to fix the CS 2015-03-16 15:58:01 +01:00
Mike Tralala 736fe7c4d8 the used timezone should be editable
if the timezone is set in the php cli ini file, mage should use that one instead of the default UTC
2015-03-16 13:33:30 +01:00
Kuba Turek 55aaa5c3b4 Merge pull request #175 from claudioflagbit/version-command-test
Test added for VersionCommand
2015-03-16 07:31:05 +01:00
Claudio Zizza 0d57e080e4 using BaseTest class for VersionCommand test 2015-03-15 23:52:58 +01:00
Kuba Turek 25800b60e9 Merge pull request #209 from ZesInternational/develop
added $currentCopy to the RollbackTask.php
2015-03-15 13:58:38 +01:00
ZesInternational fd89d2c04a added $currentCopy to the RollbackTask.php 2015-03-13 15:00:58 +01:00
Claudio Zizza 00e36d7adc Merge branch 'version-command-test' of github.com:claudioflagbit/Magallanes into version-command-test 2015-03-11 21:48:06 +01:00
Claudio Zizza 472e5b05bf namespace fix for BuiltIn 2015-03-11 21:47:30 +01:00
Claudio Zizza 2d81e6c7ec constant usage removed in VersionCommandTest 2015-03-11 21:47:30 +01:00
Claudio Zizza 06246e380c setting constant in phpunit config 2015-03-11 21:47:30 +01:00
Claudio Zizza 9711908063 test added for VersionCommand 2015-03-11 21:47:30 +01:00
Claudio Zizza ebc90d0b2a namespace fix for BuiltIn 2015-03-11 21:47:30 +01:00
Claudio Zizza c40eb59219 constant usage removed in VersionCommandTest 2015-03-11 21:47:30 +01:00
Claudio Zizza aff9d2f32b setting constant in phpunit config 2015-03-11 21:47:30 +01:00
Claudio Zizza 67960ba3f4 test added for VersionCommand 2015-03-11 21:47:30 +01:00
Claudio Zizza 247e9793cf Merge branch 'version-command-test' of github.com:claudioflagbit/Magallanes into version-command-test 2015-03-11 21:46:18 +01:00
Claudio Zizza 30cecd0965 namespace fix for BuiltIn 2015-03-11 21:45:57 +01:00
Claudio Zizza 17b62084cd constant usage removed in VersionCommandTest 2015-03-11 21:45:57 +01:00
Claudio Zizza 74bb9ad5f7 setting constant in phpunit config 2015-03-11 21:45:57 +01:00
Claudio Zizza 008ef980e0 test added for VersionCommand 2015-03-11 21:45:57 +01:00
Kuba Turek 0406c7de8a Merge pull request #197 from edpauto/command-tests
Add commands tests
2015-03-09 18:24:35 +01:00
Jakub Turek c690ea3efe Change scope of getGetterName and getSetterName methods 2015-03-09 08:16:05 +01:00
Jakub Turek 3f02ebcfe4 Add more restrictly tests for constructor 2015-03-08 21:22:12 +01:00
Jakub Turek e7c0b87ccd Move testing setters and getters to BaseTest 2015-03-08 21:21:49 +01:00
Jakub Turek c6e0d6762c Merge run test scenarios in UnlockCommandTests
Expectations and setting properties should be in dataProvider
2015-03-08 21:21:49 +01:00
Jakub Turek 937355ce8b Change assignment assertion in accessors' tests to more restrict 2015-03-08 21:21:49 +01:00
Jakub Turek 477705f4be Change autoloading to dev for tests classes 2015-03-08 21:21:49 +01:00
Jakub Turek 3b326227ae Remove setter from CompileCommand
Also, let the Compiler be constructed with DI or by itself
2015-03-08 21:21:49 +01:00
Jakub Turek 5e51b79857 Resolve conflicts on composer.lock 2015-03-08 21:21:49 +01:00
Jakub Turek a91060a16f General tests cleanup 2015-03-08 21:21:49 +01:00
Jakub Turek 3792f5fb8c Fix code style in UnlockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek cde8263d06 Add UnlockCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek 04b270356a Reset fields in LockCommandTests for better reliability 2015-03-08 21:21:49 +01:00
Jakub Turek 0bfe649aa5 Fix code style for LockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek b21b5f4c5e Add tests for LockCommand 2015-03-08 21:21:49 +01:00
Jakub Turek c06a9c7cf1 Fix code style in CompileCommand
according to PSR2 coding rules
2015-03-08 21:21:49 +01:00
Jakub Turek 5602bf83fe Add CompileCommand tests 2015-03-08 21:21:49 +01:00
Jakub Turek ee8bb3c2f9 Move "setUpConsoleStatics" into the BaseClass 2015-03-08 21:21:48 +01:00
Jakub Turek d58e89c41d Set compiler by setter for better testability 2015-03-08 21:21:48 +01:00
Jakub Turek e9ec99f318 Add exit code assertions in ListCommandTest 2015-03-08 21:21:48 +01:00
Jakub Turek 881f0b2d87 Fix syntax error in ListCommand::run 2015-03-08 21:21:48 +01:00
Jakub Turek 5944015b50 ListCommandTests refactor 2015-03-08 21:21:48 +01:00
Jakub Turek ad6c8b24ac Add ListCommand tests 2015-03-08 21:21:48 +01:00
Jakub Turek b3587935fd Add malkusch\phpmock to mock PHP built-in functions 2015-03-08 21:21:48 +01:00
Jakub Turek cf89e24106 Add PHPDoc for BaseTest command 2015-03-08 21:21:48 +01:00
Jakub Turek e35a8a7f3a Apply BaseTest as parent of AbstractCommandTest class 2015-03-08 21:21:48 +01:00
Jakub Turek d8d90cb2ec Add TestHelper\BaseTest with useful test methods 2015-03-08 21:21:48 +01:00
Jakub Turek 10b8d7982e Update autoloading for MageTest namespace 2015-03-08 21:21:48 +01:00
Jakub Turek b7dbae8ff2 Abstract command tests 2015-03-08 21:21:48 +01:00
Jakub Turek cb965a2dd9 Bump up version in bootstrap file 2015-03-08 19:28:28 +01:00