1
0
Fork 0
mirror of https://github.com/archtechx/virtualcolumn.git synced 2025-12-12 12:34:03 +00:00
Commit graph

24 commits

Author SHA1 Message Date
lukinovec
36493d0a84
Merge branch 'master' into encrypted-casts 2023-11-07 11:14:08 +01:00
lukinovec
925249bb72
Test that child models extending a parent that uses VirtualColumn get encoded correctly (#16)
* Test that using different models extending the same class with VirtualColumn doesn't work correctly

* Add regression test for faulty logic

* Delete unused import

* Add migration

* Fix migrations

* Make the assertions check the intended behavior
2023-11-06 21:46:14 +01:00
lukinovec
56620956da Add base class that uses VirtualColumn in tests 2023-10-17 09:47:09 +02:00
lukinovec
8b6db9ac2a Change method to non-static in test 2023-10-17 09:46:34 +02:00
lukinovec
826c33f647 Correct typo 2023-10-17 06:01:28 +02:00
lukinovec
4c90064977 Correct test 2023-10-13 08:46:55 +02:00
lukinovec
2760126de7 Use $dataEncoded bool instead of $dataEncodingStatus string 2023-08-14 13:21:13 +02:00
lukinovec
4414d11203 Delete get() and set() types 2023-08-09 12:39:52 +02:00
lukinovec
cd2cd5948a Delete dd() 2023-08-09 12:36:58 +02:00
lukinovec
73eca107c7 dd() Laravel version 2023-08-09 12:34:55 +02:00
lukinovec
2a4c80acc0 Check Laravel CI version (testing) 2023-08-09 12:32:23 +02:00
lukinovec
4cfff533d6 Correct expected/actual value order in assertions 2023-08-08 16:57:58 +02:00
lukinovec
89ce8851ca Move EncryptedCast class to VirtualColumnTest 2023-08-08 16:55:17 +02:00
lukinovec
2f0eefdb14 Test custom encrypted castable, refactor test 2023-08-08 15:55:20 +02:00
lukinovec
227054231e Add custom encrypted castable 2023-08-08 15:51:17 +02:00
lukinovec
de9d9d7cab Test casting of all default 'encrypted' castables 2023-08-08 13:58:29 +02:00
lukinovec
874a697d21 Handle and test 'encrypted' casts 2023-08-08 09:40:40 +02:00
lukinovec
3213a8e856 Add encrypted casts test (wip) 2023-08-07 17:42:38 +02:00
lukinovec
73d7918170 Rename generateColumnName 2022-10-21 13:56:03 +02:00
lukinovec
5881f13b81 Correct comment 2022-10-21 11:51:05 +02:00
lukinovec
c0cd839acc Add test for generating the column name 2022-10-21 11:49:10 +02:00
j.stein
9b31176b32 Update VirtualColumnTest.php 2022-01-04 01:23:51 +01:00
j.stein
2ae1ed099f Sync with original attributes 2022-01-04 01:12:11 +01:00
Samuel Štancl
1418a51fef Initial commit 2020-07-06 14:25:02 +02:00