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
Kris Arnold
c3da644617
fixed paths in unit tests.
2014-09-15 16:36:05 -05:00
Sam Georges
e85cbf80c5
Fixes unit tests
2014-07-29 13:14:54 +10:00
Graham Campbell
be7f36b31b
Composer fixes
2014-07-28 23:55:46 +01:00
Sam Georges
15b93c7b03
Rewind DI to prevent double up bug
2014-07-19 16:09:44 +10:00
alekseybobkov
48160088f2
Merge branch 'develop' of github.com:octobercms/october into develop
2014-07-16 20:50:16 +11:00
alekseybobkov
48b596ab03
Fixed unit tests
2014-07-16 20:49:55 +11:00
Sam Georges
3c7c87b338
Fixes #254 add Laravel helper functions to Twig environment
2014-07-16 10:30:39 +10:00
Sam Georges
7ecf361eb3
Fixes validation of requested partial names VS. partial names on file system
2014-07-06 12:42:08 +10:00
Sam Georges
7802213bcc
Fixes #55 - Assets are now referenced correctly as Assets instead of URLs
2014-06-26 17:29:07 +10:00