Commit Graph

62 Commits

Author SHA1 Message Date
Panagiotis Koursaris 8811c3dcd4 Fix: Hard-coded URL in ControllerTest::testThemeUrl (#4378) 2019-06-11 11:15:01 +03:00
Maria Vilaró faf3069656 Add tests for optional wildcard (#3964)
Related: https://github.com/octobercms/library/pull/363
2019-06-11 11:08:08 +03:00
Luke Towers 9113e6f418 Another deprecated class reference updated 2019-03-27 13:15:59 -06:00
Siarhei Karavai 9581b23d1e Allow multiline changelog messages, preserve correct order of updates (#4083)
Credit to @GinoPane
2019-02-19 11:11:43 -06:00
Arthur Kushman c78b3ef786 Code formatting changes (#3363)
Code formatting improvements submitted by @arthurkushman.
2018-03-22 10:55:13 -06:00
Gabriel Caruso aa14d77516 Refactoring tests (#3291) 2018-01-07 19:55:53 -06:00
viamage 7ffb79a5fd Fix typo (#3326)
Fixed typo, added CmsCompoundObject::getComponentProperties method test. Credit to @viamage
2017-12-27 13:31:34 -06:00
Luke Towers 48b97a3178 Moved MediaLibrary test to the system module 2017-10-08 23:16:18 -06:00
Samuel Georges 247151f4f8 Fixes test 2017-06-30 04:58:51 +10:00
Samuel Georges 6aa60305a0 Add test for sensitivity component partial overrides
Refs #1854
Laravel looks like it broke ->contains($model), fix test for now
2017-06-27 05:05:24 +10:00
Samuel Georges 5f2f913732 Fixes unit tests
Clearing the cache to allow failures
Substitute mail pretend with log mode
2017-05-12 07:20:59 +10:00
Quezler cc17b679f1 Code dusting (#2826)
Code cleaning according to PSR-2 w/ exemptions (mostly dust).
2017-04-24 21:38:19 +10:00
Panagiotis Koursaris 902f61d13c Unnecessary static call directly to phpunit 2017-04-12 17:17:06 +03:00
Samuel Georges 5e1feb5870 Fixes unit tests
Further to previous commit moved Cms\Classes\ViewBag to components directory
2017-03-16 07:26:57 +11:00
Jérémy Gaulin e3812036da Allow usage of namespace alias in the code section a a CMS page, with
unit test. Fixes #2006
2016-05-21 16:27:15 +02:00
Samuel Georges 39fc16ddfc Fixes tests so they pass 2016-04-05 00:02:32 +10:00
Samuel Georges 7c08b10fa2 Add cms.theme.setActiveTheme event
Bring other event names in to line with convention
Complete getConfigArray method
2016-03-23 20:11:55 +11:00
Samuel Georges 4922d6d284 Retain previous listInTheme cache functionality 2016-03-20 16:04:27 +11:00
Samuel Georges beb851bf5c Add viewBag tests, this is core functionality now 2016-03-17 19:21:41 +11:00
Samuel Georges 8e3ff0c700 Update tests with minor API changes for Halcyon implementation 2016-03-17 07:58:42 +11:00
Samuel Georges d76863a3ec Merge branch 'develop' into stable
Conflicts:
	composer.json
2016-02-27 14:55:52 +11:00
Samuel Georges 423360b2d2 Merge pull request #1631 from JoelESvensson/develop
Files in the media library can now contain two dots
2016-02-27 14:36:38 +11:00
Mariano Custiel c94706ed05 Added the ability to create instances of components from factories to allow injection of dependencies in components
Fixed descriptions

Added missing new lines at the end of fixture components

Fixed problem with include path

Fixed code as suggested. Now everything is solved through app::make

Removed tests that are not needed anymore since last changes
2016-02-22 09:44:14 +01:00
Samuel Georges ae73c2c592 Remove test testListsNestedUnknownColumn
^ because different DB drivers behave differently
Minor touch ups
2016-01-04 17:54:23 +11:00
Samuel Georges ecb54ff92c Rollback #1672 2016-01-02 13:40:32 +11:00
DQ Sully a5b3b49668 Make comments more clear 2015-12-28 10:52:10 -07:00
DQ Sully 2fae5a30b9 Fix Twig Caching
When October would load a file from its changed source, Twig would not see the message until it had gone. See Cms\Classes\Loader->isFresh. This meant a template would not update unless you deleted the Twig cache, or that template's TTL expired. Fix: add another variable (freshness) that would only change after being observed, and accurately reflected if a template's source had been modified
2015-12-28 10:09:15 -07:00
Joel E. Svensson ce0bbc988e Added tests for Cms\Classes\MediaLibrary::validatePath($path) 2015-12-06 19:17:14 +01:00
Samuel Georges 73d6ff2324 Minor 2015-11-28 16:22:18 +11:00
Marcelo Jacobus 8c689d63ea Ignored composer.json. Fixed failing tests
Tests were failing because the indexes were not the same
2015-11-28 16:19:41 +11:00
Joel E. Svensson 52090e8a9b Added .stub extension as namespaces.php is not a valid php file 2015-11-04 20:41:53 +01:00
Samuel Georges 84a95af93b whereComponent doesn't rely on the component object 2015-10-09 05:32:24 +11:00
Samuel Georges 3531793ca3 Add where and whereComponent to CMS objects 2015-10-08 07:28:20 +11:00
Samuel Georges 8e986c42b1 Remove some deprecated code 2015-10-03 07:31:01 +10:00
Samuel Georges 91d3d4dbde Swap FileHelper methods for new Ini parser 2015-10-03 07:30:11 +10:00
Samuel Georges 2c5f9eba6b Write tests that verify the truth of #1373 2015-08-15 13:39:44 +10:00
Samuel Georges 904db06f5e Write tests that verify truth of #1272
Content files with .txt extensions should not be interpreted as HTML
2015-08-08 12:03:20 +10:00
Samuel Georges 04248c72ed Fixes unit tests 2015-07-25 11:49:26 +10:00
Samuel Georges a324f01678 CmsCompoundObject::hasComponent() now resolves registered codes for comparison 2015-03-07 20:28:17 +11:00
Samuel Georges bd2b9f2770 Rem incomplete tests 2015-03-02 16:05:26 +11:00
Samuel Georges 83b54c043c Fixes unit tests so they pass 2015-03-02 16:02:13 +11:00
Samuel Georges 8c1d0aa7da Move plugin/theme fixtures so they are shared 2015-02-10 17:45:07 +11:00
Samuel Georges f26bd1221b Minor fix to unit tests 2015-02-09 21:50:59 +11:00
Samuel Georges b1b700368f Radical reorg of some classes 2015-01-28 11:49:54 +11:00
Samuel Georges 54ecf8d33a Minor 2015-01-05 12:37:59 +11:00
Samuel Georges 415f07eb1d Fixes various unit tests so they pass (Tested in Windows) 2015-01-05 12:37:04 +11:00
Samuel Georges 65845686c4 Fixes unit tests 2014-12-10 17:42:50 +11:00
Sam Georges 9f5646d273 BackendSettings -> BrandSettings
pageTitle is now translated at the end of the line
Fixed unit tests so they pass
SettingsModels are now cached
2014-10-15 19:53:44 +11:00
Sam Georges 1c4706bbbb Fixes unit tests so they pass 2014-10-09 18:08:28 +11:00
Sam Georges 73feabaf18 Fixes unit tests, also rename October\Test to October\Tester to remove conflict between real plugin of that name 2014-09-20 17:59:19 +10:00