silverstripe-framework/tests
Ingo Schommer 1e478a5378 Consistently set 'id' in FormSchema
The URL to request the schema representation is the unique identifier.
We can't default to $request->getURL() since that's different for form submissions.

The schema.schema_url key is redundant, since the identifier is already contained on the top level 'id' key.
Keeping schema_url in a schema itself makes it less portable, particularly once we transition into
generic schemas which are not reliant on a particular record context (that's only contained in the schema_url)

This also fixes the issue of form schemas not refreshing after submit,
e.g. when form fields are added or removed.
2016-10-20 15:33:50 +13:00
..
api API Namespace all classes 2016-09-08 10:23:17 +12:00
assets FIX extra_requirements to accept non associative arrays. 2013-06-02 13:37:34 +12:00
behat NEW: Move Travis behat test to run locally. 2016-09-17 15:40:37 +12:00
cache Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
control API controller::join_links supports array values 2016-10-07 13:25:56 +13:00
core Fixed @covers namespaces 2016-09-27 07:46:17 +13:00
css/forms FIX: Fix tests when running directly from framework. 2016-09-17 15:40:32 +12:00
dev API Support fixture paths relative to current directory 2016-10-13 16:53:30 +13:00
email API Namespace all classes 2016-09-08 10:23:17 +12:00
filesystem BUG Fix incorrect backslash escaping in htaccess template 2016-09-22 19:11:08 +12:00
forms Consistently set 'id' in FormSchema 2016-10-20 15:33:50 +13:00
i18n Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
injector API Namespace all classes 2016-09-08 10:23:17 +12:00
integration Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
javascript/forms FIX: Fix tests when running directly from framework. 2016-09-17 15:40:32 +12:00
model API Versioned::publishRecursive() now uses a ChangeSet 2016-10-13 17:38:08 +13:00
parsers API Namespace all classes 2016-09-08 10:23:17 +12:00
phpcs Add code-sniffs other than line length to scrutinizer 2013-05-23 10:39:01 +12:00
search API Namespace all classes 2016-09-08 10:23:17 +12:00
security FIX: Fix tests when running directly from framework. 2016-09-17 15:40:32 +12:00
templates FIX: Fix tests when running directly from framework. 2016-09-17 15:40:32 +12:00
testing FIX: Fix tests when running directly from framework. 2016-09-17 15:40:32 +12:00
view Tests to cover caching repeated template lookups 2016-10-03 16:01:02 +01:00
bootstrap.php FIX: Throw more helpful error if tests are run badly. 2016-09-21 09:43:14 +12:00
FakeController.php Rename SS_ prefixed classes (#5974) 2016-09-09 18:43:05 +12:00
MemoryLimitTest.php API Namespace all classes 2016-09-08 10:23:17 +12:00
phpcs_runner.php Only have Scrutinizer check PHP files 2013-08-21 21:02:12 +12:00
PhpSyntaxTest.php API Namespace all classes 2016-09-08 10:23:17 +12:00