@@ -18,8 +18,7 @@ public function setUp(): void
1818 $ this ->loadMigrationsFrom (__DIR__ . '/etc/migrations ' );
1919 }
2020
21- /** @test */
22- public function keys_which_dont_have_their_own_column_go_into_data_json_column ()
21+ public function testKeysWhichDontHaveTheirOwnColumnGoIntoDataJsonColumn ()
2322 {
2423 $ model = MyModel::create ([
2524 'foo ' => 'bar ' ,
@@ -59,8 +58,7 @@ public function keys_which_dont_have_their_own_column_go_into_data_json_column()
5958 $ this ->assertSame (null , $ model ->data );
6059 }
6160
62- /** @test */
63- public function model_is_always_decoded_when_accessed_by_user_event ()
61+ public function testModelIsAlwaysDecodedWhenAccessedByUserEvent ()
6462 {
6563 MyModel::retrieved (function (MyModel $ model ) {
6664 $ this ->assertFalse ($ model ->dataEncoded );
@@ -90,8 +88,7 @@ public function model_is_always_decoded_when_accessed_by_user_event()
9088 MyModel::first ();
9189 }
9290
93- /** @test */
94- public function column_names_are_generated_correctly ()
91+ public function testColumnNamesAreGeneratedCorrectly ()
9592 {
9693 // FooModel's virtual data column name is 'virtual'
9794 $ virtualColumnName = 'virtual->foo ' ;
@@ -107,8 +104,7 @@ public function column_names_are_generated_correctly()
107104 $ this ->assertSame ($ virtualColumnName , $ model ->getColumnForQuery ('foo ' ));
108105 }
109106
110- /** @test */
111- public function models_extending_a_parent_model_using_virtualcolumn_get_encoded_correctly ()
107+ public function testModelsExtendingAParentModelUsingVirtualcolumnGetEncodedCorrectly ()
112108 {
113109 // Create a model that extends a parent model using VirtualColumn
114110 // 'foo' is a custom column, 'data' is the virtual column
@@ -130,8 +126,7 @@ public function models_extending_a_parent_model_using_virtualcolumn_get_encoded_
130126
131127 // maybe add an explicit test that the saving() and updating() listeners don't run twice?
132128
133- /** @test */
134- public function encrypted_casts_work_with_virtual_column () {
129+ public function testEncryptedCastsWorkWithVirtualColumn () {
135130 // Custom encrypted castables have to be specified in the $customEncryptedCastables static property
136131 MyModel::$ customEncryptedCastables = [EncryptedCast::class];
137132
0 commit comments