rinvex / laravel-attributes

⚠️ [ABANDONED] Rinvex Attributable is a robust, intelligent, and integrated Entity-Attribute-Value model (EAV) implementation for Laravel Eloquent, with powerful underlying for managing entity attributes implicitly as relations with ease. It utilizes the power of Laravel Eloquent, with smooth and seamless integration.
MIT License
433 stars 104 forks source link

Tests don't run correctly as they appear to not run migrations #98

Closed simonworkhouse closed 2 years ago

simonworkhouse commented 5 years ago

Migrations don't appear be be run when running tests and the tests fail as a result.

1) Rinvex\Attributes\Tests\Feature\AttributeCreationTest::it_ensures_unique_slugs_even_if_slugs_explicitly_provided
  Illuminate\Database\QueryException: SQLSTATE[HY000]: General error: 1 no such table: attributes (SQL: select exists(select * from "attributes" where "slug" = foo and "id" != 0) as "exists"
simonworkhouse commented 5 years ago

I have created a draft pull request https://github.com/rinvex/laravel-attributes/pull/99

ghost commented 4 years ago

+1

simonworkhouse commented 4 years ago

@Omranic Has this been looked at?

Omranic commented 2 years ago

This is already fixed in a recent release. Feel free to re-open if you still have any issues.