summaryrefslogtreecommitdiffstats
path: root/tests/BandTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix Bands class constructor.Harald Eilertsen2021-04-211-0/+2
| | | | | | The expected attributes did not have names corresponding with the table columns, which meant that creating a band directly from a returned table row did not produce the expected result.
* Refactor BandTest.Harald Eilertsen2021-04-181-13/+22
| | | | Set up a test env before running the test cases.
* Add a few more tests for GoglogAdmin_Band class.Harald Eilertsen2021-04-161-0/+28
| | | | | Sidenote: UK is not included in the country list. Did the brexit everything?
* Refactor Band::create into Band::find and ::createHarald Eilertsen2021-04-151-1/+9
| | | | | | Not sure if it's a good idea to have `create` return an existing band. Will have to look at callsites to see if it should be renamed back or if the callsite should be changed.
* Make Band::create return band object, not just id.Harald Eilertsen2021-04-151-0/+22