|
|
@ -27,8 +27,8 @@ Future run(final DockerImage image) async { |
|
|
|
expect(status.installed, true); |
|
|
|
expect(status.installed, true); |
|
|
|
expect(status.maintenance, false); |
|
|
|
expect(status.maintenance, false); |
|
|
|
expect(status.needsDbUpgrade, false); |
|
|
|
expect(status.needsDbUpgrade, false); |
|
|
|
expect(status.version, startsWith('26.0.0')); |
|
|
|
expect(status.version, startsWith('26.0.1')); |
|
|
|
expect(status.versionstring, '26.0.0'); |
|
|
|
expect(status.versionstring, '26.0.1'); |
|
|
|
expect(status.edition, ''); |
|
|
|
expect(status.edition, ''); |
|
|
|
expect(status.productname, 'Nextcloud'); |
|
|
|
expect(status.productname, 'Nextcloud'); |
|
|
|
expect(status.extendedSupport, false); |
|
|
|
expect(status.extendedSupport, false); |
|
|
@ -37,7 +37,7 @@ Future run(final DockerImage image) async { |
|
|
|
test('Get capabilities', () async { |
|
|
|
test('Get capabilities', () async { |
|
|
|
final capabilities = await client.core.getCapabilities(); |
|
|
|
final capabilities = await client.core.getCapabilities(); |
|
|
|
expect(capabilities.ocs.data.version.major.toString(), '26'); |
|
|
|
expect(capabilities.ocs.data.version.major.toString(), '26'); |
|
|
|
expect(capabilities.ocs.data.version.string, '26.0.0'); |
|
|
|
expect(capabilities.ocs.data.version.string, '26.0.1'); |
|
|
|
expect(capabilities.ocs.data.capabilities.theming!.name, 'Nextcloud'); |
|
|
|
expect(capabilities.ocs.data.capabilities.theming!.name, 'Nextcloud'); |
|
|
|
expect(capabilities.ocs.data.capabilities.theming!.url, 'https://nextcloud.com'); |
|
|
|
expect(capabilities.ocs.data.capabilities.theming!.url, 'https://nextcloud.com'); |
|
|
|
expect(capabilities.ocs.data.capabilities.theming!.slogan, 'a safe home for all your data'); |
|
|
|
expect(capabilities.ocs.data.capabilities.theming!.slogan, 'a safe home for all your data'); |
|
|
|