tests: change mocked wan interface type to PPPoE
authorJo-Philipp Wich <jo@mein.io>
Sat, 12 Feb 2022 12:16:24 +0000 (13:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sat, 12 Feb 2022 19:36:46 +0000 (20:36 +0100)
commit281b1bcd99f4a65410ae0559da4f6f130a31d4a8
tree3be7d3d075c1498fa388c445bd0183054abb0983
parent93b710d49f57876f6885d8842178dbf1181b9330
tests: change mocked wan interface type to PPPoE

Change the WAN interface type in the mock data to PPPoE. PPPoE interfaces
are special because their L3 device differs from the L2 one which becomes
important later for resolving hw offloaded flowtable devices.

Adjust the test cases accordingly.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
tests/01_configuration/01_ruleset
tests/01_configuration/02_rule_order
tests/03_rules/06_subnet_mask_matches
tests/03_rules/07_redirect
tests/mocks/fs/opendir~_sys_class_net_pppoe-wan.json [new file with mode: 0644]
tests/mocks/ubus/network.interface~dump.json