mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
test(mobile): honor compiled push gateway
Co-authored-by: npub12wpjffj7q5qjsky5jvk4ldwlxmse5xll3d8gytk4wqd0c5y7jvwspg37n6 <538324a65e0501285894932d5fb5df36e19a1bff8b4e822ed5701afc509e931d@buzz.block.builderlab.xyz> Signed-off-by: npub12wpjffj7q5qjsky5jvk4ldwlxmse5xll3d8gytk4wqd0c5y7jvwspg37n6 <538324a65e0501285894932d5fb5df36e19a1bff8b4e822ed5701afc509e931d@buzz.block.builderlab.xyz>
This commit is contained in:
parent
52fa0d20ef
commit
f563f833cd
@@ -114,8 +114,12 @@ void main() {
|
||||
},
|
||||
);
|
||||
|
||||
test('development push gateway uses the localhost compiled default', () {
|
||||
expect(Env.pushGatewayUrl, 'http://localhost:8080');
|
||||
test('development push gateway matches the compiled configuration', () {
|
||||
const expectedGateway = String.fromEnvironment(
|
||||
'BUZZ_PUSH_GATEWAY_URL',
|
||||
defaultValue: 'http://localhost:8080',
|
||||
);
|
||||
expect(Env.pushGatewayUrl, expectedGateway);
|
||||
});
|
||||
|
||||
test('persists the acknowledged push lease generation', () async {
|
||||
|
||||
Reference in New Issue
Block a user