Skip to content

Commit 0254908

Browse files
authored
Merge pull request #17 from feltech/work/OpenAssetIO/1311-removeDeprecatedAliases
Use non-deprecated TraitsData for MediaCreation test
2 parents 6a6160f + 0ada3e1 commit 0254908

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ name: Test
77
on:
88
pull_request:
99

10+
env:
11+
# Buy some more time to use the deprecated Node 16 (needed for GLIBC
12+
# version)
13+
# Upgrading to the CY23 Docker images will solve this longer term. See
14+
# https://github.com/OpenAssetIO/OpenAssetIO/issues/984#issuecomment-2210792734
15+
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
16+
1017
concurrency:
1118
group: ${{ github.workflow }}-${{ github.ref }}
1219
cancel-in-progress: true

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ v1.0.0-alpha.x
77
### Breaking Changes
88

99
* Update to use non-deprecated `TraitsData` path/namespace.
10-
[#13](https://github.com/OpenAssetIO/OpenAssetIO-Test-CMake/pull/13)
10+
[OpenAssetIO#1311](https://github.com/OpenAssetIO/OpenAssetIO/issues/1311)
1111

1212
### New Features
1313

src/test.mediacreation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
// Include all headers to test they are where we expect and can be
55
// compiled.
6-
#include <openassetio/TraitsData.hpp>
6+
#include <openassetio/trait/TraitsData.hpp>
77

88
#include <openassetio_mediacreation/openassetio_mediacreation.hpp>
99

1010
int main() {
1111
auto trait = openassetio_mediacreation::traits::managementPolicy::ManagedTrait(
12-
openassetio::TraitsData::make());
12+
openassetio::trait::TraitsData::make());
1313

1414
trait.imbue();
1515
return 0;

0 commit comments

Comments
 (0)