Page MenuHomePhabricator

geoshapes: improve DB handling during tests
Closed, DeclinedPublic

Description

Background information

geoshapes access a PostgreSQL DB to function properly. The current architecture does not provide an interface for testing.

What

Handle DB interactions properly and make code better suited for tests.

How

TBD

Open questions

...

Acceptance criteria

  • Documentation is updated
  • Remove skipping logic for DB handlers
  • Add some tests for the DB interactions

Details

Event Timeline

Change 668185 had a related patch set uploaded (by MSantos; owner: MSantos):
[mediawiki/services/geoshapes@master] add mock property to DB configuration

https://gerrit.wikimedia.org/r/668185

Change 668185 merged by jenkins-bot:
[mediawiki/services/geoshapes@master] add mock property to DB configuration

https://gerrit.wikimedia.org/r/668185

MSantos edited projects, added Maps (Geoshapes); removed Maps.
Jdforrester-WMF subscribed.

Codebase is being archived, see T418372.