Skip to content

Commit f8c8a40

Browse files
authored
Remove MockDml.Operation enum (#112)
* removing MockDml.Operation enum * whitespace fixes in actions
1 parent eeca218 commit f8c8a40

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

.github/workflows/packaging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ on:
2929
required: false
3030
type: string
3131
version:
32-
description: Version Number (#.#.#)
32+
description: Version Number (#.#.#)
3333
required: false
3434
type: string
3535
skip-validation:
@@ -174,4 +174,4 @@ jobs:
174174
uses: "stefanzweifel/git-auto-commit-action@v6"
175175
with:
176176
commit_message: "Packaged new ${{ inputs.package }} version ${{ steps.get-version.outputs.version-name }}"
177-
skip_dirty_check: true
177+
skip_dirty_check: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
workflow_dispatch:
1010
inputs:
1111
version:
12-
description: Version Number (#.#.#)
12+
description: Version Number (#.#.#)
1313
required: false
1414
type: string
1515

@@ -151,4 +151,4 @@ jobs:
151151
generate_release_notes: true
152152
make_latest: true
153153
tag_name: v${{ needs.versioning.outputs.version-number }}
154-
token: ${{ secrets.GITHUB_TOKEN }}
154+
token: ${{ secrets.GITHUB_TOKEN }}

force-app/main/default/classes/MockDml.cls

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -401,19 +401,6 @@ global class MockDml extends Dml {
401401
}
402402
}
403403

404-
public enum Operation {
405-
// ! Deprecated: This will be removed in a future release
406-
// ! Replace all uses of this enum with the Dml.Operation enum
407-
DO_CONVERT,
408-
DO_DELETE,
409-
DO_INSERT,
410-
DO_PUBLISH,
411-
DO_PURGE,
412-
DO_UNDELETE,
413-
DO_UPDATE,
414-
DO_UPSERT
415-
}
416-
417404
/**
418405
* @description Mock implementation of DML request that simulates database operations without actual DML.
419406
*/

0 commit comments

Comments
 (0)