1
0
Fork 0
mirror of https://github.com/archtechx/airwire.git synced 2025-12-12 02:34:04 +00:00

write readme

This commit is contained in:
Samuel Štancl 2021-05-20 22:38:02 +02:00
parent d26fa93f1e
commit 28e16d6bef
7 changed files with 619 additions and 5 deletions

View file

@ -139,6 +139,7 @@ test('model can be passed to a method', function () {
expect(Product::count())->toBe(1);
});
// todo wired attribute flags on methods as well
test('models can be encoded back to the id', function () {
Product::create(['id' => 1, 'name' => 'foo', 'price' => 10, 'description' => 'bar']);