towerops/test/support/fixtures
Graham McIntire 53f7a31c2d
test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures
- Created comprehensive VISP sync test suite (10 tests, all passing)
  - Tests Decimal-based MRR calculations (float, integer, nil handling)
  - Tests API error handling (401, 403, 500, connection errors)
  - Tests sync status and message updates
  - Validates financial correctness after float→Decimal refactor

- Added GaiiaFixtures module for test support
  - gaiia_integration_fixture/2
  - gaiia_account_fixture/3
  - gaiia_inventory_item_fixture/2
  - gaiia_network_site_fixture/3

- Extended SnmpFixtures with missing helpers
  - arp_entry_fixture/2 for ARP table tests
  - wireless_client_fixture/3 wrapper for positional args

- Extended DevicesFixtures and OrganizationsFixtures
  - device_fixture/3 wrapper (org_id, site_id, attrs)
  - site_fixture/2 for creating test sites

Note: subscriber_matching_test.exs created but has 10 failing tests
(testing private functions, missing Repo.query_count/1). Will address
separately if needed.
2026-03-10 12:36:07 -05:00
..
accounts_fixtures.ex perf(tests): disable TOTP by default in fixtures for faster tests 2026-03-06 07:21:52 -06:00
accounts_fixtures_test.exs remove passkeys for now 2026-01-31 09:50:35 -06:00
agents_fixtures.ex rename equipment to device 2026-01-17 14:48:46 -06:00
agents_fixtures_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
billing_fixtures.ex stripe and email after signup 2026-03-06 10:07:27 -06:00
devices_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00
gaiia_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00
integrations_fixtures.ex add integrations test fixture 2026-02-12 17:03:00 -06:00
jobs_fixtures.ex more tests and fixes 2026-02-07 11:50:18 -06:00
organizations_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00
organizations_fixtures_test.exs Add tests for OrganizationsFixtures 2026-01-13 08:59:40 -06:00
snmp_fixtures.ex test: add comprehensive VISP sync tests and Gaiia/SNMP fixtures 2026-03-10 12:36:07 -05:00