Pavel Puchkin
3a46721eca
Even more fluent eloquent model via magic setters
...
Now it is possible to use Eloquent's magic setters in chains. For example:
$model->set_foo('foo')->take(10)->set_bar(some_function());
// ...even though setters 'foo' and 'bar' are not defined on the model
2013-05-08 18:28:22 +11:00
Steven Klar
4086d130d1
Add unregister to IoC-Contrainer
...
Signed-off-by: Steven Klar <steven.klar@mayflower.de>
2013-04-02 11:09:40 +02:00
Taylor Otwell
d293f9c6a8
Merge pull request #1676 from chrishow/form-label-html
...
Make HTML escaping optional for label contents.
2013-03-28 14:50:07 -07:00
Pavel Puchkin
a0c2adecdc
One more fix - wrong property name
2013-03-12 16:16:45 +11:00
Pavel Puchkin
cf9013403b
Syntax fix for PHP 5.3 ( #1690 )
2013-03-12 16:09:16 +11:00
Kelt Dockins
1ed7ec98ba
adding unit tests for ioc changes
2013-02-07 00:13:00 -06:00
Chris How
f93dfccd21
HTML::entities() now optional on label contents
2013-02-03 19:15:55 +01:00
Malachi Soord
337c2f0a7c
Fixed issue with html unit tests
2013-01-07 21:28:09 +00:00
Dayle Rees
f0c3dbba40
Fixing merge issues.
2013-01-06 20:14:07 +00:00
Taylor Otwell
358e8abde6
Merge pull request #1390 from Anahkiasen/feature/url_language
...
Add URL::to_language and HTML::link_to_language localization helpers
2013-01-05 12:46:43 -08:00
Taylor Otwell
22c2c3843a
Merge pull request #1485 from laravie/feature/auth-events
...
Add 'laravel.auth: login' and 'laravel.auth: logout' events.
2013-01-05 11:58:57 -08:00
Taylor Otwell
6a69979376
Merge pull request #1526 from TheShiftExchange/blade_e
...
Automatically apply entities to output using Blade
2013-01-05 11:44:54 -08:00
Jason Walton
19cd539586
added validation message to language file for required_with
...
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-12-19 12:05:51 -07:00
theshiftexchange
8fe6158058
Automatically apply entitiesto output using blade
...
By using 3 braces instead of 2, you can now automatically apply
HTML::entities() to any output
2012-12-17 02:38:06 +11:00
crynobone
590872d3c6
Update auth test case
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-29 22:18:24 +08:00
Franz Liedke
f0cd43a20d
Fix unit test - relationships are now properly hidden, too.
2012-11-24 22:11:30 +01:00
crynobone
56eca662cc
Session unit test giving a weird output
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 22:56:04 +08:00
crynobone
0d8a4ffbdd
Add unit testing coverage for Laravel\HTML and improve setUp and tearDown for Form unit-test
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 22:33:29 +08:00
crynobone
6dc6b2b5ae
Rename TestForm class to FormTest, to make it consistent with all other
...
testcases. Also remove tearDown method, as it doesn't do anything at
this moment.
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 19:43:13 +08:00
crynobone
72dbf5ddeb
Add full code coverage for Laravel\Form
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-06 17:42:35 +08:00
crynobone
dace3d5091
Add additional tests
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-05 22:33:34 +08:00
crynobone
915becdb69
Improve Blade unit-test code coverage
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-11-05 22:07:19 +08:00
Anahkiasen
89e3bf1fbd
Add URL::to_language and HTML::link_to_language localization helpers
...
Signed-off-by: Anahkiasen <ehtnam6@gmail.com>
2012-10-26 22:32:52 +01:00
Taylor Otwell
fc9b0e1636
Merge pull request #1201 from JoostK/fix-1
...
Fixed a problem with `Eloquent::get_dirty`
2012-09-25 18:37:09 -07:00
Taylor Otwell
9acf541653
Merge pull request #1255 from joual/develop
...
Auth token now nulled on logout
2012-09-25 18:32:36 -07:00
Taylor Otwell
4eac00a009
Use hash_hmac on cookie hashes.
2012-09-25 16:43:58 -04:00
Taylor Otwell
ad313198df
working on cookie fingerprinting.
2012-09-25 08:40:48 -05:00
Franz Liedke
de53feb07e
Fix validation tests one more time.
2012-09-21 13:11:54 +02:00
Franz Liedke
f77041ced9
Add another test with quotes around the validation rule's parameter.
2012-09-21 12:31:49 +02:00
Joel Marcotte
3d51200a88
Auth token now nulled on logout
...
Signed-off-by: Joel Marcotte <skaner@gmail.com>
2012-09-20 17:54:28 -04:00
Jason Walton
adc23dc964
Added traffic and chassis as uncountable words to properly feed pluralizer
...
Signed-off-by: Jason Walton <jwalton512@gmail.com>
2012-09-10 11:25:08 -07:00
JoostK
147e0ec656
Implementation of Eloquent tests
...
Basic Eloquent unit tests.
Lacks database operations, relationship testing and some magic method
calls.
2012-09-10 00:51:02 +02:00
Franz Liedke
49331d74e2
Add unit tests for date_format validator rule.
2012-09-07 14:01:45 +02:00
Taylor Otwell
4e21cfce39
Fixing a double slash bug in URL generation with languages. add tests.
2012-09-01 22:07:01 -05:00
Taylor Otwell
e8046847c4
fix tests.
2012-08-28 23:58:52 -05:00
crynobone
d816eb9ef3
Refix unit testing for Laravel
...
Signed-off-by: crynobone <crynobone@gmail.com>
2012-08-01 13:05:59 +08:00
Franz Liedke
37241db646
Fix View test case still referring to the old bundle setup for tests.
2012-07-13 03:07:14 +02:00
Franz Liedke
7351845ec3
Fix PHP errors in test cases related to changed cookie data storage.
2012-07-13 03:06:31 +02:00
Franz Liedke
feefa8d9c4
Fix PHP errors in test cases related to now using Symfony's HttpFoundation component.
2012-07-13 03:05:55 +02:00
Franz Liedke
86013f1b84
Fix old code in Auth test cases.
2012-07-13 03:04:36 +02:00
Franz Liedke
59e7e4a2ca
Update authentication config file in testing application.
2012-07-13 03:04:13 +02:00
Franz Liedke
41ff7af213
Change inner workings of test runner to use different bootstrap file when testing the core.
2012-07-13 03:02:30 +02:00
Franz Liedke
9bd8755167
Fix wrong API usage in Auth unit test.
2012-07-13 00:14:30 +02:00
Franz Liedke
a7c211339a
Import testing bundle to laravel/tests directory.
2012-07-13 00:14:03 +02:00