pmatseykanets / laravel-scout-postgres

PostgreSQL Full Text Search Engine for Laravel Scout
MIT License
160 stars 38 forks source link

Breaking HTTP Tests #40

Closed LouisHrg closed 4 years ago

LouisHrg commented 4 years ago

Hi, It appears that when I run my HTTP Tests on my project, the package is breaking the test

SQLSTATE[HY000]: General error: 1 near "USING": syntax error (SQL: CREATE INDEX posts_searchable_index ON posts USING GIN (searchable))"

I followed the doc and it works very well but in my HTTP test :shrug: Maybe someone has stumble on the same issue

pmatseykanets commented 4 years ago

Hi,

Are you sure you're running your tests against a PosgreSQL instance?

LouisHrg commented 4 years ago

Yeap

pmatseykanets commented 4 years ago

Well, the error message says otherwise, given that it complains about USING keyword. It seems like you're using either MySQL or SQLite in tests.

LouisHrg commented 4 years ago

Oh yeah you're right ! :confused: thank you :smile: