[Django]-Django MySql Fulltext search works but not on tests

6👍

Answer from Adam Chainz from django-mysql library:

InnoDB doesn’t make changes to full text indexes until commits. You can use TransactionTestCase to get around this.

I change the test class to use TransactionTestCase and the tests now pass.

Leave a comment