Ingo Schommer
76b99e4006
Fixed tests without assertions
2012-11-23 15:52:00 +01:00
Ingo Schommer
ff1df3696f
Limiting redirection-follow to specific tests in CMSMainTest
...
Fixes *some* quirks when running tests with
the 'translatable' module enabled (which redirects
to URLs with ?locale=<locale> in the CMS by default).
2012-11-23 15:30:11 +01:00
Ingo Schommer
8659c27487
Remove unused set_up_once() invocations from various tests
...
SapphireTest method name was changed to instance method
and setUpOnce() naming in mid 2010 already (093da759).
Since those methods were never invoked, they're obsolete.
Checked that the SiteTree-related tests pass with
Translatable enabled.
2012-11-23 13:58:54 +01:00
Ingo Schommer
df44239060
Method visibility according to coding conventions
2012-09-20 10:41:50 +02:00
Ingo Schommer
1cd82e2db1
BUG Enforce $allowed_children in controllers on page creation ( fixes #7694 )
...
Original bug fix contributed by @kmayo-ss
2012-09-02 18:20:22 +02:00
Sean Harvey
0515555ab1
MINOR Fixing CMSMainTest using old code, updating to new CMS admin/pages URL
2012-05-22 17:35:04 +12:00
Sean Harvey
2cb89ed696
MINOR Fixing invalid URL
2012-05-22 17:16:29 +12:00
Sean Harvey
c72bae3a8e
MINOR Fixing assertType() assertions with assertInstanceOf()
2012-05-09 23:06:55 +12:00
Sean Harvey
dedb9d0461
MINOR Removing use of _t() in test, assert the english text since en_US
...
is the locale set for tests by default.
2012-05-09 21:54:33 +12:00
Sean Harvey
46660e98bc
MINOR Fixing broken test
2012-05-09 21:52:32 +12:00
Ingo Schommer
0e071c9393
MINOR Fixed tests broken by recent CMS search and breadcrumbs changes
2012-04-18 23:40:27 +02:00
Ingo Schommer
1b3a634a56
MINOR Fixed hardcoded links from admin/page to admin/pages
2012-04-18 23:33:37 +02:00
Ingo Schommer
dc0168d01b
MINOR Removed $params argument to DataObject->getCMSFields(), please use FormScaffolder directly ( fixes #7135 )
2012-04-13 15:55:32 +02:00
Sean Harvey
ded3fd8d68
MINOR Fixed broken test from json changes
2012-03-30 16:25:21 +13:00
Ingo Schommer
4612b13d98
MINOR Fixed CMSMainTest to work with new breadcrumbs conventions (see 44a4e8a840
)
2012-03-12 17:25:53 +01:00
Ingo Schommer
4225c0a966
MINOR Flattened AddForm and SiteConfig CMS logic, moved from base classes to specialised classes for better overview, and less inheritance where its not necessary.
2012-03-09 23:35:43 +01:00
Ingo Schommer
f620f9b46c
MINOR Using <button> tags for CMS UI, and new 'data-icon' HTML5 attribute to denote icons
2012-02-17 15:30:37 +01:00
Ingo Schommer
f88d4006f8
ENHANCEMENT CMSMain->Breadcrumbs()
2012-02-14 16:11:38 +01:00
Ingo Schommer
0bfd866623
MINOR Skip instanciation in CMSMainTest->testThatGetCMSFieldsWorksOnEveryPageType() when can_be_root is false (will fail the write call, not related to test)
2012-01-30 17:31:22 +01:00
Ingo Schommer
908a98b55b
API CHANGE Default to /admin/pages rather than homepage edit view when CMS is first opened ( #6762 )
2012-01-24 14:20:55 +01:00
Stig Lindqvist
05e90838c0
API CHANGE Switch usage from FieldSet to FieldList
2011-10-27 20:24:45 +02:00
Ingo Schommer
8382ebb742
MINOR Using post() instead of submitForm() in CMSMainTest to work around SimpleTest issues
2011-07-08 15:36:31 +02:00
Ingo Schommer
9a09aaf42b
ENHANCEMENT Changed CMSMain->AddForm() to a modal dialog, showing page types and their descriptions as radiobuttons rather than a dropdown
2011-04-28 22:49:34 +12:00
Ingo Schommer
f547da23a3
MINOR Relative $fixture_file links in cms/tests to facilitate moving files
2011-03-30 20:04:31 +13:00
Ingo Schommer
60abe5fb9f
MINOR Moved files into a more logical structure in cms/code
2011-03-30 20:03:44 +13:00